OOP in JAVA
Object-Oriented Programming (OOP) is a fundamental programming paradigm used extensively in Java. In OOP, the core concept is organizing code into “objects,” which are instances of classes representing real-world entities, concepts, or data structures. Here’s how OOP works in Java:
Articles
- Introduction
- Classes and Objects
- Constructor (No-Arg, Parameterized, Default)
- Constructor (Copy Constructor) / Finalizers vs Destructor
- Static keyword (Static Variable and Methods)
- Static keyword (Static Block – Static Class)
- Passing Objects to Methods (by Value vs by Reference / Passing Objects as Arguments)
- Inheritance (Types of Inheritance / Access Modifiers and inheritance)
- Inheritance (Super Keyword / Object Class / Package-Private vs Protected)
- Polymorphism (Method Overloading and Method Overriding)
- Polymorphism(Explanation of Examples, Static Methods)
- Polymorphism(Late binding "Dynamic Polymorphism", Early binding "Static Polymorphism")
- Types of Relationships (Association, Aggregation "has-a", Composition "part-of")