Java - Object-Oriented Programming (OOPS) Concept - About OOPs Tutorial
Object-Oriented Programming is a concept to design an application using classes and objects.
While Procedural programming is about writing procedures or methods multiple times for the same task. which make code not reusable.
Advantages of using OOPS over Procedural Programming.
OOPs, use a concept of classes and objects, which make it easier to execute.
OOPs make code reusable.
Some of the Object-Oriented Programming is
- Object & Class
- Inheritance
- Polymorphism (Runtime & Compile Time)
- Abstraction (Using abstract and interface)
- Encapsulation