🚀 Day 73/100 of My Java Programming Series ☕💻 Today, I learned and practiced Method Overloading in Java — an important concept of compile-time polymorphism. 📌 What I explored today: ✅ What is Method Overloading ✅ Same method name with different parameters ✅ Changing number of arguments ✅ Changing data types of arguments ✅ Improving code readability and reusability ✅ Real-time examples for better understanding 💡 Key takeaway:Method Overloading allows us to define multiple methods with the same name but with different parameter lists. It helps make programs more flexible, organized, and easier to understand. 🧠 This concept is very useful in writing cleaner code and understanding how Java supports polymorphism. 🔥 Day 73 completed. Still learning, still growing! #Java #JavaProgramming #OOP #MethodOverloading #Polymorphism #100DaysOfCode #CodingJourney #Programming #SoftwareDevelopment #JavaDeveloper #LearningJourney10000 Coders Meghana M
Java Method Overloading Explained
More Relevant Posts
-
🚀 Understanding the Rules of Inheritance in Java – Simplified! Inheritance is one of the core pillars of Object-Oriented Programming, but not everything gets inherited ⚠️ In this infographic, I’ve clearly explained two important rules: 🔒 Private Members do NOT participate in inheritance – to protect encapsulation and ensure data security within the class. 🏗️ Constructors do NOT participate in inheritance – because constructor naming rules must match the class name, which cannot be inherited. To make it even more practical, I’ve also included: 📊 Differences between this.callMethod() and super.callMethod() 📊 Comparison of this keyword vs super keyword 📊 Difference between super keyword and super method call This visual guide helps you quickly understand what is inherited, what is not, and why it matters in real-world Java programming 💡 Perfect for students, interview prep, and strengthening core OOP concepts 🔥 💬 Which concept helped you the most—this or super? #Java #OOP #Inheritance #Programming #Coding #JavaDeveloper #SoftwareDevelopment #LearnJava #TechConcepts #ComputerScience #CodingLife #Developers #InterviewPrep #ProgrammingBasics TAP Academy
To view or add a comment, sign in
-
-
#Day35 – Abstraction in Java 🧠 Today’s session completely changed the way I look at Abstraction in Java. 🔹 Key Learnings: ✔ Abstraction → showing essential features while hiding implementation ✔ Achieved using abstract classes & methods ✔ Abstract class → cannot be instantiated ✔ Can contain both abstract & concrete methods ✔ Abstract methods must be overridden in child classes ✔ Constructors, static methods, and variables are allowed in abstract classes ✔ Abstract class can extend another class (abstract or normal) 💡 One interesting insight: Abstract doesn’t just exist in Java — it exists in our life journey too. Many things are unknown (abstract) today, and become concrete over time. Special thanks to TAP Academy, and mentor Harshit T sir for the constant guidance and motivation 🙌 #Java #OOPS #Abstraction #Programming #CodingJourney #Consistency #Learning #TapAcademy
To view or add a comment, sign in
-
-
Day 39 of learning java Today I learned something very important in Java, Object Creation. Syntax: "className objectName = new constructor();" Here’s what I understood: • The left side ("className objectName") is just declaring a reference variable. • The right side ("new constructor()") is where the actual object is created. • Memory is allocated only when we use the "new" keyword. • The constructor gets executed automatically when the object is created. • Without "new", no memory is allocated and no constructor runs. In short: Declaration != Object creation You need "new" to actually create and use the object. This concept made things much clear about how Java handles memory and execution internally. Thanks to my mentor Ashim Prem Mahto for the clear explanations and for always clearing my doubts. #Java #LearningJourney #Programming #JavaBasics #CodingLife #DeveloperJourney #TechLearning #Beginners #CodeNewbie #jvm #SoftwareEngineer #StudentLife
To view or add a comment, sign in
-
-
🔹 Understanding Composition in Java (OOP Concept) 🔹 Today I practiced one important concept of Object-Oriented Programming — Composition (HAS-A relationship). 👉 Composition means one class contains another class as a part of it. 👉 It represents a strong relationship where one object depends on another. 💻 Example: House HAS-A Room In this example, a House object contains a Room object. The Room is created inside the House, which shows a strong dependency (Composition). ✨ Key Points: ✔ Composition = HAS-A relationship ✔ Strong dependency between objects ✔ Objects are created inside the parent class ✔ Improves code reusability and design 📚 Learning and practicing OOP concepts step by step to strengthen my Java fundamentals. #Java #OOP #Composition #Programming #Learning #CodingJourney
To view or add a comment, sign in
-
-
🚀 Day 16/45 – Understanding Abstraction in Java On Day 16 of my Java learning journey, I explored Abstraction, one of the core principles of Object-Oriented Programming. Abstraction focuses on hiding implementation details and showing only the essential functionality to the user. 📚 What I Learned Today Today I learned: ✔ What abstraction is and why it is important ✔ How to use abstract classes in Java ✔ Understanding abstract methods (methods without body) ✔ How abstraction works with inheritance 💻 Practice Work To apply my learning, I implemented: • An animal example using abstract class • A shape example demonstrating abstraction 🎯 Key Takeaway Abstraction helps simplify complex systems by hiding unnecessary details and focusing on what is important. It plays a key role in building clean and scalable applications. Step by step, I am gaining a deeper understanding of OOP concepts. #Java #Programming #LearningInPublic #CodingJourney #SoftwareDevelopment #OOP
To view or add a comment, sign in
-
📘 Revised Logic Building in Java with @LetsUpgrade (Day 2) Attended Day 2 of the Java Bootcamp, which focused on strengthening problem-solving and logic building skills. 🔹 Topics revised: • Conditional Statements (if, else, else-if) • Loops (for, while) • Arrays • Strings and basic functions 💻 Practice: Worked on basic problems and received homework to improve coding skills Revisiting these concepts is really helping me improve my logic and confidence in Java. Looking forward to learning more! #LetsUpgrade #Java #Programming #Coding #JavaBasics #LogicBuilding #LearningJourney #DeveloperJourney
To view or add a comment, sign in
-
-
🚀 Learning Progress: Java OOP – Encapsulation & POJO Continuing my journey in mastering Object-Oriented Programming in Java, I worked on a program to demonstrate Encapsulation along with the use of a POJO (Plain Old Java Object) class. In this program: I created a POJO class with private variables to represent the data Used getter and setter methods to control access and modification of that data Ensured proper data hiding, which is the core idea of Encapsulation This hands-on implementation helped me understand how POJO classes are used in real-world applications to create clean, reusable, and maintainable code structures while keeping data secure. It was a great exercise in writing structured and professional Java code, and I’m excited to explore more OOP concepts and apply them in practical scenarios. #Java #OOP #Encapsulation #POJO #LearningJourney #SoftwareDevelopment#Tap Academy
To view or add a comment, sign in
-
✨ I’m happy to share that today I learned the core concepts of Object-Oriented Programming (OOPs) in Java by implementing 🚀OOPs Pillars Explained in a Single Program practical way by implementing all concepts in a single Java program. 📌 OOPs Pillars: 🔹 Encapsulation Binding data (variables) and methods into a single unit (class) and restricting direct access using access modifiers. 🔹 Inheritance Acquiring properties and behaviors from one class to another using the “extends” keyword. Helps in code reusability. 🔹 Polymorphism One method, multiple behaviors. Achieved using method overloading and method overriding. 🔹 Abstraction Hiding implementation details and showing only essential features using abstract classes and interfaces. 📌 Key Understanding: Instead of learning concepts individually, implementing all OOPs pillars in one program gives a clear picture of how they work together in real-world applications. 💡 This is the core foundation of Java and essential for building scalable applications. #CoreJava #OOPsConcepts #JavaLearning #Programming #TapAcademy #LearningJourney #DeveloperSkills
To view or add a comment, sign in
-
-
🚀 Day 16 of My Java Learning Journey Today, I explored one of the most important OOP concepts in Java — Constructors 🔥 🔹 What I Learned: • Constructor is a special method used to initialize objects • It has the same name as the class • No return type (not even void) • Automatically called when object is created 🔹 Types of Constructors: • Default Constructor • Parameterized Constructor 💡 Key Insight: Java does not have a built-in copy constructor like C++, but we can create it manually if needed. 🧠 Realization: Constructors make object creation more structured and efficient — they are like the “starting point” of any object in Java. Consistency + Practice = Growth my mentor Aman Soni Vidhya Code Gurukul #Java #OOP #Programming #LearningJourney #CodeNewbie #100DaysOfCode #Developers #TechSkills
To view or add a comment, sign in
-
-
🚀 Starting My Java Learning Journey – Day 14 🔹 Topic: Final Keyword & Static Keyword in Java In Java, final and static are important keywords used to control behavior of variables, methods, and classes. ✅ Final Keyword The final keyword is used to restrict modification. ✔ final variable → value cannot be changed ✔ final method → cannot be overridden ✔ final class → cannot be inherited ✅ Static Keyword The static keyword is used for memory management and sharing data. ✔ Belongs to the class, not objects. ✔ Shared among all objects. ✔ Can be accessed without creating an object. 💡 Key Points: ✔ final → restricts changes ✔ static → shared among all objects #Java #JavaLearning #Programming #BackendDevelopment #CodingJourney #JavaFinal #JavaStatic
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