Skip to content

A Java-based repository focused on learning and practicing Object-Oriented Programming (OOP) concepts, including Encapsulation, Inheritance, Polymorphism, and Abstraction, through clean code examples and exercises.

Notifications You must be signed in to change notification settings

BigEskander1/OOP-in-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

OOP-in-Java

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.


πŸ’‘ Covered Concepts & Example Classes

  • Car Class
    β†’ Learn basic OOP structure and access level modifiers (private, public, etc.).

  • Circle Class
    β†’ Practice getters and setters, method design, and computing values like area & circumference.

  • Account Class
    β†’ Understand constructors, including multiple constructor types (overloading).

  • Student Class
    β†’ Learn and practice the use of the static keyword (static variables , static methods , static Block and static class ).

  • Passing Class
    β†’ Learn about passing by value , passing by reference.


πŸ“ Structure


OOP-in-Java/
β”œβ”€β”€ OOP/
        β”œβ”€β”€ encapsulation/
        β”œβ”€β”€ inheritance/
        β”œβ”€β”€ polymorphism/
        β”œβ”€β”€ abstraction/
        β”œβ”€β”€ Car.java
        β”œβ”€β”€ Circle.java
        β”œβ”€β”€ Account.java
        β”œβ”€β”€ Student.java
        └── Passing.java
└── exercises



About

A Java-based repository focused on learning and practicing Object-Oriented Programming (OOP) concepts, including Encapsulation, Inheritance, Polymorphism, and Abstraction, through clean code examples and exercises.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages