Introduction to OOP
Learn what Object-Oriented Programming is, why it was invented, and get an overview of its four pillars with real-world examples.
Classes and Objects
Understand how classes act as blueprints and objects as real instances, with syntax for creating and using them in Java.
Constructors
Learn what constructors are in Java, how to write default and parameterized constructors, and how constructor chaining works with this().
The this Keyword
Master the Java this keyword โ how it refers to the current object, resolves naming conflicts, and enables constructor chaining.
Inheritance
Learn how Java inheritance lets child classes reuse and extend parent class code using the extends keyword, with Animal to Dog examples.
The super Keyword
Learn how Java's super keyword calls parent constructors, accesses parent methods, and works with parent fields in inheritance hierarchies.
Method Overriding
Master runtime polymorphism in Java by learning how child classes override parent methods using the @Override annotation and the rules that apply.
Polymorphism
Master Java polymorphism โ compile-time overloading vs runtime overriding, upcasting, dynamic method dispatch, and real shape examples.
Encapsulation
Learn Java encapsulation โ how private fields with public getters and setters protect data and enable validation in classes like BankAccount.