🚀 Day-11 Java – Understanding Pass By Value & Pass By Reference Today’s session helped me clearly understand one of the most important memory concepts in Java. 🔹 Primitive data types follow Pass By Value → Only the value is copied → Changes don’t affect the original variable 🔹 Objects work with References → Multiple references can point to the same object → Changes through one reference reflect everywhere Understanding how memory works internally makes a huge difference in writing bug-free and optimized code. This concept is foundational for: ✔ Object-Oriented Programming ✔ Collections Framework ✔ Advanced Java concepts Consistent practice is the key to mastering these fundamentals 💻🔥 #Java #CoreJava #OOPS #Programming #SoftwareDevelopment #LearningJourney #Day11 #JavaDeveloper #TechGrowth TAP Academy Harshit T Sharath R
Java Pass By Value & Reference Explained
More Relevant Posts
-
#Day17 – Understanding Constructors in Java ⚙️ Today’s session helped me understand how constructors work in Java and how they are used while creating objects. Key Learnings: ✔ A Constructor is a special type of method whose name is the same as the class name ✔ Constructors do not have any return type, not even void ✔ Constructors are automatically called when an object is created using the new keyword ✔ If a programmer does not create any constructor, Java Compiler provides a Default Constructor ✔ Learned about Parameterized Constructors and Zero-Parameterized Constructors ✔ Understood Constructor Overloading (multiple constructors with same name but different parameters) ✔ Explored Constructor Chaining using this(), where one constructor calls another constructor within the same class TAP Academy Harshit T #Java #OOPS #CoreJava #Constructors #Programming #SoftwareDevelopment #LearningJourney #Consistency
To view or add a comment, sign in
-
-
⚡ Small concept, big impact in Java! While learning Java, I realized that Arrays are powerful but they also come with some important limitations. 🔹 Arrays store only homogeneous data types 🔹 Their size is fixed once created 🔹 They require contiguous memory allocation Because of these limitations, Java provides Collections like ArrayList and LinkedList, which support dynamic resizing and more flexibility. Understanding these fundamentals helps developers choose the right data structure for better and efficient programs. 📚 Learning step by step and strengthening my Java foundation as a Full Stack Developer. 💬 Do you prefer Arrays or Collections while coding in Java? #TapAcademy #Java #JavaDeveloper #Programming #DataStructures #SoftwareDevelopment #CodingJourney #LearningInPublic
To view or add a comment, sign in
-
-
Day 22-What I Learned In a Day(JAVA) Today I learned about method calling in Java. I practiced how a method can be called multiple times from the main() method. I also understood that when calling a method, we can pass arguments in two ways: 1️⃣ Directly passing values m1(10); 2️⃣ Passing values through a variable int a = 10; m1(a); Both approaches will pass the value to the method parameter and execute the method. Through this practice, I improved my understanding of method creation, parameter passing, and method execution flow in Java. Hashtags Practiced 👇 #Java #CoreJava #JavaLearning #Programming #CodingJourney #JavaMethods #LearnJava #Developers #TechLearning #DailyLearning
To view or add a comment, sign in
-
Day 29 -What I Learned In Day (JAVA) Today I learned about Looping Statements in Java, especially the for loop and do-while loop . 🔹 What is a Do-While Loop? A do-while loop is an exit-controlled loop that executes the code at least once, even if the condition is false. Syntax: do { // statements } while(condition); 🔹 What is a For Loop? A for loop is an entry-controlled loop that checks the condition before execution. It is mainly used when the number of iterations is known. Syntax: for(initialization; condition; increment/decrement) { // statements } Practiced 👇 #Java #Programming #Loops #LearningJourney #100DaysOfCode #CodingPractice
To view or add a comment, sign in
-
🚀✨ Day 12 — Java Multithreading Practice 💻⚙️ Today I explored how tasks execute on different threads in Java and observed the execution flow clearly. 👀🧠 🔹 Created a worker thread to generate Prime numbers 🔢🧵 🔹 Executed Palindrome logic on the main thread ▶️💡 🔹 Understood which code runs on which thread 🧠✅ 🔹 Used join() to control execution order 🔗⏳ 🔹 Observed asynchronous behavior and output differences 🔄📊 🔹 Improved code readability and console clarity ✨🧹 This small program helped me visualize parallel execution and thread coordination in real time. ⚙️🚀 Multithreading is a key concept for scalable backend systems and performance optimization. 📈🔥 Learning step by step, building strong Java fundamentals every day. 🌱📚💪 #Day12 #Java #Multithreading #JavaDeveloper #CodingJourney #LearningInPublic #BackendDevelopment 🚀
To view or add a comment, sign in
-
💻 Day 13 – File Handling in Java Today I explored File Handling in Java, which allows programs to create, read, write, and manage files. This is an important concept because real-world applications often need to store and retrieve data from files. Things I learned today: 🔹 How to create a file using File class 🔹 Writing data into a file using FileWriter 🔹 Reading data from a file 🔹 Handling errors using IOException File handling helps programs store information permanently instead of losing it when the program ends. 💡 Key takeaway: File handling enables Java programs to interact with external data and manage information efficiently. Learning something new every day and strengthening my Java fundamentals step by step 🚀 #Java #FileHandling #Programming #LearningInPublic #CodingJourney #ComputerScience #Day13
To view or add a comment, sign in
-
-
Hello LinkedIn! Today I learned about Exception Handling in Java, which helps in handling runtime errors and keeping the program running smoothly. 📌 What I understood: ✅ What is an Exception ✅ Using try-catch blocks ✅ The finally block ✅ Types of Exceptions (Checked & Unchecked) ✅ Importance of handling errors in a program Exception handling helps developers write robust and reliable applications by preventing unexpected program crashes. Step by step, improving my Java fundamentals and programming skills 💻🔥 Consistency + Practice = Progress 🚀 #Java #Programming #ExceptionHandling #Coding #LearningJourney #Developer
To view or add a comment, sign in
-
-
Hello, my connections. #Day12 of my 21-Day Java Learning Challenge Today I focused on understanding generics and wrapper classes in Java. These concepts are very useful when working with collections and help make the code more flexible and type-safe. Here’s what I learned today: • What Generics are and how they help write reusable and type-safe code • The idea of Generic classes and methods • Understanding Wrapper Classes and why Java uses them • Difference between primitive data types and wrapper objects • Concepts of Autoboxing and Unboxing Learning these topics helped me understand how Java manages different data types efficiently, especially when working with collections. Continuing to learn consistently from GeeksforGeeks and improving my Java fundamentals step by step. #Java #JavaLearning #Generics #WrapperClasses #JavaDeveloper #LearningInPublic #GeeksforGeeks #21DayChallenge
To view or add a comment, sign in
-
Currently revising Arrays and ArrayList as part of strengthening my DSA fundamentals. I came across this excellent session by Kunal Kushwaha, where the concepts are explained very clearly with practical examples. It really helped me revise and solidify my understanding. If you are learning or revising Data Structures, this video is highly recommended. Thank you for the valuable content. 🙏 #Java #DSA #Revision #Programming #ContinuousLearning https://lnkd.in/gv6VJbsT
Introduction to Arrays and ArrayList in Java
https://www.youtube.com/
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