📘 Day 5 at Tap Academy | Java Main Method & Object Creation 🚀Today’s session at Tap Academy focused on understanding how a Java program actually starts and executes, giving clarity on the core execution flow of Java ☕💻. We learned why the main() method is the heart of every Java program and how the JVM interacts with classes and objects during runtime ⚙️🧠. 🔑 Key Learnings from Today: ▶️ main() method as the entry point of a Java program ▶️ Why public static void main(String[] args) is mandatory ▶️ Role of JVM in: • Loading the class • Executing the main() method • Creating objects at runtime ▶️ Difference between class loading time and object creation time 🧠 Practical Understanding: 📌 Wrote Java programs to see how: Objects are created using new keyword Methods are called using object references Execution flows step-by-step inside JVM This session strengthened my Java fundamentals and helped me clearly understand how code turns into real execution 🏃♂️⚡. 💪 Building strong foundations for becoming a Java Full Stack Developer 🔥 Learning • Practicing • Growing 🔥 #Java #CoreJava #MainMethod #JVM #TapAcademy #JavaDeveloper #LearningJourney #Day5#Programming
Java Main Method & Object Creation at Tap Academy
More Relevant Posts
-
Day 1 at TAP Academy(21/01/2026) – Java Fundamentals 🚀 On my first day at TAP Academy, I was introduced to the core features of Java and how it works internally. 🔹 Platform Independence Java programs can run on any operating system without modification. 🔹 WORA – Write Once, Run Anywhere Once Java code is written and compiled, it can run on any device that has a JVM. 🔹 Architecture Neutral Java applications are not dependent on any specific hardware architecture. 🔹 Portability Java programs are easy to move across different platforms. 🔹 Java Execution Process Java is a High-Level Language (HLL) The Java Compiler converts HLL into Bytecode The JVM (Java Virtual Machine) converts bytecode into Machine-Level Language (0s and 1s) This makes Java platform-independent 📌 This session helped me understand why Java is powerful, flexible, and widely used. Excited to learn more and strengthen my foundation in Java Full Stack Development 💻✨ #Java #TapAcademy #LearningJourney #JavaDeveloper #FullStack
To view or add a comment, sign in
-
-
📘 Day 10 at Tap Academy | Understanding Variables in Java 🚀 Today’s session at Tap Academy focused on one of the most fundamental concepts in Java — Variables, which act as containers to store data during program execution ☕💻. 🔹 What I learned today: 🧩 Instance Variables Declared directly inside a class Memory allocated in the Heap Get default values automatically (int → 0, double → 0.0, boolean → false, String → null) Exist as long as the object exists ⚙️ Local Variables Declared inside methods or blocks Memory allocated in the Stack No default values — must be initialized by the programmer Exist only during method execution 🔍 I also understood how Java manages memory using Heap and Stack, and how the JRE plays a role during program execution by allocating memory and assigning default values where applicable. This session helped me clearly differentiate between variable types and strengthened my understanding of Java’s memory management — an essential step toward becoming a Java Full Stack Developer ☕ Trainer:Sharath R #TapAcademy #Day10Learning #Java #CoreJava #VariablesInJava #JavaDeveloper #ProgrammingBasics #LearningJourney
To view or add a comment, sign in
-
-
🚀 Full Stack Development Journey at Tap Academy | Java Session Update Today’s session at Tap Academy focused on one of the most fundamental concepts in Java — the Main Method. At first glance, it may look like just another method. But technically, the main method plays a very critical role in every Java application. 📌 What I Learned: 🔹 The main method is simply a method like any other in Java. 🔹 However, it acts as the entry point of a Java program. 🔹 The Java Virtual Machine (JVM) starts program execution from the main method. 🔹 Without the main method, a standalone Java application cannot run. 🔍 Standard Syntax: public static void main(String[] args) Each keyword has a specific purpose: public → Accessible from anywhere static → Can be called without creating an object void → Does not return any value String[] args → Accepts command-line arguments Understanding the main method clarified how Java execution actually begins behind the scenes. Small concepts like this build a strong foundation for becoming a better developer. Excited to keep learning and growing step by step in my Full Stack Development journey 🚀 #Tapacademy #Java #FullStackDevelopment #Programming #LearningJourney #JVM #Coding
To view or add a comment, sign in
-
-
📘 Day 11 at Tap Academy | Pass by Value vs Pass by Reference in Java 🚀 Today at Tap Academy, I learned an important Java concept that often confuses beginners — Pass by Value and Pass by Reference ☕💻. 🔹 Pass by Value A copy of the value is passed to another variable or method Changes made to the copied value do not affect the original variable No dependency between variables 🔹 Pass by Reference The reference (address) of the object is passed. Both variables point to the same object in memory. Changes made through one reference reflect in the original object Through practical examples using primitive variables and objects, I clearly understood how Java handles data transfer and memory references during execution. This session helped me strengthen my understanding of Java’s memory behavior and object handling. #TapAcademy #Day11Learning #Java #CoreJava #PassByValue #PassByReference #JavaDeveloper #ProgrammingConcepts #LearningJourney
To view or add a comment, sign in
-
-
📘 Java Learning Update | Deep Dive into the static Keyword As part of my Core Java training at TAP Academy, I implemented a Simple Interest calculator to understand the real-world usage of the static keyword in Java. Instead of treating it as just a formula-based program, I focused on how static works internally and why it is important in application design. 🔹 What I implemented: Took user input for principal amount and time Declared the interest rate as a static variable Used a static block to initialize the interest rate Calculated Simple Interest using structured methods 🔹 Key Concepts I Strengthened: ✔️ Difference between instance variables and class variables ✔️ How static variables are shared across all objects ✔️ When to use a static block ✔️ Memory-level understanding (class-level loading) ✔️ Writing optimized and structured OOP-based programs 💡 Why this matters in real-world development: Common values like tax rates, configuration settings, policies, and constants are usually declared as static because they belong to the class, not individual objects. Learning these core fundamentals is helping me build strong backend foundations and understand how scalable Java applications are structured. Grateful to be learning and implementing these concepts step by step at TAP Academy 🚀 #Java #CoreJava #StaticKeyword #OOP #BackendDevelopment #ProgrammingJourney #TapAcademy #LearningByDoing
To view or add a comment, sign in
-
-
📘 Day 4 at TAP Academy – Understanding the main() Method in Core Java Today’s learning at TAP Academy focused on one of the most important concepts in Java — the main() method 🚀🔹 What is the main() method? The main() method is the starting point of program execution in Java. Whenever we run a Java program, the JVM looks for the main() method first. 🔹 Why is it important? Without the main() method, a Java program cannot run It tells the JVM where to begin execution Acts as a bridge between JVM and Java program 🔹 Standard syntax ✅public static void main(String[] args) 🔹 Breakdown made simple: public → Accessible from anywhere static → No object creation needed void → Does not return any value String[] args → Used to accept command-line arguments ✨ This session helped me clearly understand how Java programs actually start and execute. Learning the fundamentals step-by-step is building a strong foundation in Core Java. 💥Grateful for the structured learning and guidance at TAP Academy 🙌 #Day4 #CoreJava #MainMethod #JavaBasics #LearningJava #TapAcademy #JavaDeveloper #StudentLife #CodingJourney
To view or add a comment, sign in
-
-
📘 Java Learning Journey – Weekly Progress (Week 7) 🚀 This week was all about mastering control, coordination, and reliability in Java applications — from handling failures gracefully to managing multiple threads efficiently. Here’s what I focused on 👇 🔰 Exception Handling • Understood how JVM processes exceptions internally • Explored checked vs unchecked exceptions • Learned how proper handling leads to graceful program termination 🔰 throw, throws & Custom Exceptions • Used throw to raise exceptions explicitly • Used throws to delegate exception handling responsibility • Designed custom exceptions to represent business rules clearly • Realized how exception design improves code readability and intent. 🔰 File Handling • Learned how Java interacts with the file system • Read and wrote data using file-related classes • Understood the importance of handling IO exceptions properly 🔰 Multithreading Basics • Created threads using Thread class • Understood why concurrency is essential for performance • Learned how multiple threads execute independently 🔰 Thread Lifecycle • Explored thread states: New, Runnable, Running, Waiting, Dead • Understood how JVM manages thread execution internally 🔰 join() & Synchronization • Used join() to control execution order between threads • Learned how synchronization prevents race conditions • Understood thread safety and shared resource access 🔰 wait() & notify() • Learned inter-thread communication • Understood how threads coordinate using object locks • Built clarity on producer–consumer style communication ⭐ Key Takeaway from Week 7 Writing code isn’t enough — handling failures, managing resources, and coordinating threads is what makes applications reliable and production-ready. Building strong Java fundamentals, one week at a time ☕💪 Onward to deeper backend concepts 🚀 #Java #CoreJava #ExceptionHandling #Multithreading #Synchronization #FileHandling #BackendDevelopment #JavaFullStack #LearningJourney
To view or add a comment, sign in
-
🚀 Day 16 at TAP Academy — String Constant Pool & Heap Memory (Simple Understanding) Today I learned how Java stores Strings in memory, and honestly, it became much easier once I understood the difference between String Pool and Heap. In Java, Strings are objects, but the way we create them decides where they are stored. 🔹 String Constant Pool When we create a string like this: "String name = "Java";" Java checks if the same value already exists. If yes → it uses the same memory. If not → it creates a new one. This saves memory because multiple variables can share the same value. 🔹 Heap Memory When we create a string using "new": "String name = new String("Java");" Java creates a new object every time, even if the value is the same. So more memory is used compared to the string pool 💡 What I understood today: String literals are memory efficient. Using "new" creates separate objects in the heap. Java manages memory smartly to improve performance. Small concept… but very important for understanding Java deeply. Day 16 ✅ Learning step by step. TAP Academy #Day16 #Java #Tapacademy #LearningJourney #Programming
To view or add a comment, sign in
-
-
🚀 Day 5 TAP Academy | Understanding the Main Method & Object Creation in Java 💻 Today’s session was all about diving deeper into how Java programs start executing and how objects are created from classes — two of the most foundational concepts for every Java developer! 🔹 Object Creation in Java: A class acts as a blueprint, and objects are created from it using the new keyword. There are 3 key steps involved: 1️⃣ Declaration – Define a variable with an object type. 2️⃣ Instantiation – Use new to create the object. 3️⃣ Initialization – Call the constructor to initialize it. 👉 Example: Car c1 = new Car(); 🔹 Main Method in Java: The main() method is the entry point of every Java application. To make it visible and accessible to the JVM, we must declare it as: public static void main(String[] args) Here’s why each keyword matters: public → Makes it visible to JVM. static → Allows JVM to call it without creating an object. void → Specifies no return value. String[] args → Used to accept command-line arguments. 💡 Key Takeaways: Every method in Java must be inside a class. The source file name should match the class name containing main(). If main() isn’t public static, the program won’t run. args helps us pass runtime data to our program — acting like a dynamic array! Each day at TAP Academy is strengthening my understanding of Java, one concept at a time — moving from theory to real-world programming confidence! 🔥 #TAPAcademy #JavaDeveloper #JavaProgramming #LearnJava #OOPsConcepts #MainMethod #ObjectCreation #CodingJourney #InternshipExperience #SoftwareDeveloper #CodeNewbie #DeveloperCommunity #100DaysOfCode #CareerGrowth #TechEducation #WebDeveloper #LearningNeverStops
To view or add a comment, sign in
-
-
🚀 Day 14 – Java Full Stack Journey | Pass by Value vs Reference Behavior in Java Today’s focus was on a very important concept in Java: 👉 Pass by Value (Primitive Types) 👉 Reference Behavior with Objects Understanding this clearly is essential for mastering Object-Oriented Programming. 🔹 1️⃣ Pass by Value (Primitives) int a = 1000; int b = a; b = 2000; ✔ A copy of the value is passed ✔ a and b are completely independent ✔ Changing b does NOT affect a Final Values: a → 1000 b → 2000 This is called Pass by Value because only the value is copied. 🔹 2️⃣ Reference Behavior (Objects) Car a = new Car(); Car b = a; ✔ Only one object is created in Heap ✔ a and b both point to the same object ✔ Multiple references → Single object If we modify using b: b.name = "KIA"; Then accessing with a.name will also show "KIA". Why? Because both references point to the same memory location. 🔹 Memory Understanding Primitive variables → Stored in Stack → Independent copies Objects → Stored in Heap References → Stored in Stack → Point to Heap object One object can have multiple references. Any modification through one reference reflects for all. 💡 Key Learning • Primitives → Value copy • Objects → Reference copy • One object → Many references possible • Understanding memory makes debugging easier Today’s learning strengthened my clarity in Object-Oriented Programming fundamentals. Day 14 Complete ✔ #Day14 #Java #CoreJava #PassByValue #PassByReference #OOPS #HeapAndStack #JavaDeveloper #FullStackJourney #LearningInPublic TAP Academy
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