I’m excited to share that I explored JVM Memory Segments in Java. Understanding how Static Segment, Stack Segment, and Heap Segment work internally helps in building strong Java fundamentals. Key concepts I learned: 🔹 Static variables stored in Static Segment 🔹 Local references stored in Stack Memory 🔹 Objects created in Heap Memory Learning how Java manages memory behind the scenes makes programming more interesting and powerful. 🚀 A big thanks to Harshit T Sir for explaining these concepts so clearly and making complex topics easy to understand. Your guidance makes learning Java much more interesting and insightful. #Java #JVM #JavaFullStack #Programming #CodingJourney #DeveloperGrowth #TAPAcademy
Java JVM Memory Segments: Static, Stack, and Heap
More Relevant Posts
-
Continuing my progress in Java, I’ve recently explored some important object-oriented and structural concepts that deepen my understanding of how real-world applications are designed. Here are the topics I covered: Containment (Has-A relationship) and how objects can be composed within other classes Method Overloading for achieving compile-time polymorphism Static Import to simplify code by directly accessing static members Inheritance for creating hierarchical relationships and promoting code reusability Packages for organizing classes and maintaining scalable project structure These concepts helped me better understand how to design modular, reusable, and maintainable Java applications. Step by step, moving closer to mastering core Java and applying these concepts in real-world scenarios. #Java #OOP #Programming #LearningJourney #SoftwareDevelopment #CDAC
To view or add a comment, sign in
-
-
Day 49-What I Learned In a Day (JAVA) Today, I focused on understanding the execution flow of static elements in Java. 🔹 Learned about: • Static variables and how they are shared across objects • Static methods and how they can be accessed without object creation • Static initializer (single-line) • Static initializer (multi-line) This helped me clearly understand how Java handles memory and execution at the class level before objects are created. Building strong fundamentals step by step! #Java #Programming #LearningJourney #OOP #TechSkills
To view or add a comment, sign in
-
-
#Day_13 of My Java Learning Journey – Writing Functions in Java Today I practiced how to create functions (methods) in Java, and I built a simple program to check whether a number is Even or Odd. 🔥 What I learned today: ✔ How to create a boolean function ✔ How to use if-else conditions inside a method ✔ How to return true/false ✔ How to call a method inside the main() function ✔ How to print the result in the console 🧩 Example I worked on: I created a method IfEven(int a) that: Prints whether the number is Even or Odd Returns a boolean value (true for even, false for odd) This helped me understand functions more clearly and how they improve code structure and reusability. #Java #LearningJourney #100DaysOfCode #Coding #Developer #JavaBeginners #OOP #CodeNewbie
To view or add a comment, sign in
-
-
🔐 Mastering inheritance starts with mastering access modifiers! Understanding how public, protected, default, and private work across packages and subclasses is key to writing secure, maintainable Java code. #TapAcademy #Java #Inheritance #AccessModifiers #Encapsulation #OOP #ProgrammingTips #CleanCode
To view or add a comment, sign in
-
-
Day 43-What I Learned In a Day(JAVA) Today I worked on String concepts in Java and practiced some interesting problems. What I learned: Creating and using strings in Java Converting a number into an array using strings Handling characters using charAt() Problems I practiced: ✅ Created and manipulated strings ✅ Converted number -array using string ✅ Moved zeros to the end of an array These problems helped me understand how strings and arrays work together and improved my problem-solving skills. Learning step by step and getting better every day! Practiced 👇 #Java #CodingPractice #LearningJourney #Programming #100DaysOfCode
To view or add a comment, sign in
-
Day 31/100 – Revisiting Java Arrays & Enhanced For Loop ☕ Today I revisited the Enhanced For Loop (for-each loop) in Java while practicing array traversal. Instead of using indexes like a traditional for loop, the enhanced loop lets us directly iterate through each element of the array, making the code cleaner and easier to read. Example idea: for(int num : arr) → goes through each element one by one. Key takeaways: • Cleaner way to traverse arrays and collections • Reduces chances of index-related errors • Makes code more readable and concise Small concepts like these build a stronger programming foundation over time. Still learning. Still consistent. 🚀 #100DaysOfCode #Java #Programming #CodingJourney #SoftwareDevelopment #Consistency #LearningInPublic
To view or add a comment, sign in
-
-
Day 32- What I Learned in a Day (JAVA) Today, I focused on pattern programming in Java, especially some of the most confusing ones. I practiced different types of patterns like: 🔹 Triangle patterns 🔹 Pyramid patterns 🔹 Reverse triangle patterns 🔹 Number patterns (increasing & decreasing) 🔹 Alphabet patterns 🔹 Reverse alphabet patterns Key Learnings: 🔹 Understanding how nested loops control rows and columns 🔹Learning how spaces and values (numbers/alphabets) are managed 🔹Improving logic-building for complex patterns 🔹Realizing that most patterns follow simple rules once broken down Pattern programming really helped me improve my logical thinking and problem-solving skills. 25 Problems Practiced 👇 #Java #Coding #PatternProgramming #LearningJourney #ProblemSolving
To view or add a comment, sign in
-
🚀 Exploring Java Collection Framework Today’s session was all about understanding the powerful Java Collection Framework and how it helps in managing and organizing data efficiently. Dived deep into core concepts like interfaces and classes in collections, and explored the three main interfaces: List, Set, and Map. Gained clarity on how these structures differ and where to use them in real-world applications. Focused on the ArrayList class—its properties like dynamic resizing, ordered storage, and index-based access—making it one of the most commonly used collection classes in Java. Also understood the hierarchy of ArrayList, how it is part of the List interface, and how it inherits behavior from abstract classes like AbstractList and AbstractCollection. 📚 A strong foundation in collections is essential for writing efficient and scalable Java applications. TAP Academy #Java #CollectionsFramework #ArrayList #Programming #LearningJourney #FullStackDevelopment
To view or add a comment, sign in
-
-
Day 9 – Java Streams Practice Series Today, I worked on finding the first repeated character in a string using Java Streams. Approach: Converted the string into a stream of characters Used Collectors.groupingBy() with LinkedHashMap to preserve insertion order Counted occurrences of each character Filtered characters with frequency greater than 1 Retrieved the first repeated character using findFirst() Key Learning: Using LinkedHashMap is important because it maintains the order of elements, which helps in identifying the first repeated character correctly. Why this matters: This problem helps strengthen concepts like stream transformations, grouping, counting, and order preservation in collections. Consistent practice is helping me build a deeper understanding of Java Streams and problem-solving. #Java #JavaStreams #CodingPractice #DataStructures #ProblemSolving #BackendDevelopment #100DaysOfCode
To view or add a comment, sign in
-
-
Continuing my Java learning journey, I’ve recently covered some essential concepts that improve code readability, robustness, and error handling. Here are the topics I explored: Enums and how they provide a type-safe way to define a fixed set of constants Exception Handling and how Java manages runtime errors using try-catch, finally, throw, and throws These concepts helped me understand how to write safer and more predictable programs while improving code structure and maintainability. Gradually progressing towards writing more reliable and production-ready Java applications. #Java #OOP #Programming #LearningJourney #SoftwareDevelopment #CDAC
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development