A Java-based repository focused on learning and practicing Object-Oriented Programming (OOP) concepts.
The goal is to demonstrate Encapsulation, Inheritance, Polymorphism, and Abstraction through clean code examples and hands-on exercises.
-
CarClass
β Learn basic OOP structure and access level modifiers (private,public, etc.). -
CircleClass
β Practice getters and setters, method design, and computing values like area & circumference. -
AccountClass
β Understand constructors, including multiple constructor types (overloading). -
StudentClass
β Learn and practice the use of thestatickeyword (static variables , static methods , static Block and static class ). -
PassingClass
β Learn about passing by value , passing by reference.
OOP-in-Java/
βββ OOP/
βββ encapsulation/
βββ inheritance/
βββ polymorphism/
βββ abstraction/
βββ Car.java
βββ Circle.java
βββ Account.java
βββ Student.java
βββ Passing.java
βββ exercises