https://github.com/roushankhalid/basic_object_oriented_programming
This repository showcases fundamental Object-Oriented Programming (OOP) concepts in Java, including Abstraction, Inheritance, Polymorphism, Encapsulation, and more. The examples were created while learning from Apna College tutorials and provide a hands-on approach to understanding basic OOP principles.
https://github.com/roushankhalid/basic_object_oriented_programming
oop-concepts oops-in-java
Last synced: 10 months ago
JSON representation
This repository showcases fundamental Object-Oriented Programming (OOP) concepts in Java, including Abstraction, Inheritance, Polymorphism, Encapsulation, and more. The examples were created while learning from Apna College tutorials and provide a hands-on approach to understanding basic OOP principles.
- Host: GitHub
- URL: https://github.com/roushankhalid/basic_object_oriented_programming
- Owner: RoushanKhalid
- Created: 2024-02-03T20:38:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-17T09:57:57.000Z (12 months ago)
- Last Synced: 2025-01-17T10:37:50.859Z (12 months ago)
- Topics: oop-concepts, oops-in-java
- Language: Java
- Homepage: https://www.youtube.com/watch?v=bSrm9RXwBaI
- Size: 180 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic Object-Oriented Programming
This repository contains basic Object-Oriented Programming (OOP) concepts implemented in Java. The code examples were created while following the **Apna College** tutorials, providing hands-on practice for fundamental OOP principles.
## Features
- **Abstraction**: Understanding abstract classes and methods.
- **Inheritance**: Demonstrating parent-child relationships in classes.
- **Polymorphism**: Exploring method overloading and overriding.
- **Encapsulation**: Implementing private attributes with getter and setter methods.
- **Constructors**: Covering all types of constructors in Java.
- **Static Keyword**: Understanding static members and methods in Java.
## File Structure
The repository is organized into individual files for each OOP concept, making it easy to find and understand specific examples:
- **Abstract Classes**
- **Inheritance Examples**
- **Encapsulation Examples**
- **Polymorphism**
- **Constructors** and more.
## Usage
Clone the repository to explore the examples:
```bash
git clone https://github.com/your-username/Basic_Object_Oriented_Programming.git