OOPS
It is a programming paradigm that organizes code using object and classes.
First we will discuss about what is paradigms?
we can solve the problem using different programing way or diff programs solve the same problem. those things are collectively called paradigms.
Before learning advanced Java concepts such as polymorphism and abstraction, it is essential to understand three fundamental concepts:
Class
Object
Inheritance
What is class ?
we let's imagine class is a design of the bike , object is real bike , there is no bike without design and there is no object without class, but class is avail without object. class will determine what the behaviors of object.
object
An object is a actual things created from the class, class is a blueprint
inheritances
If one class have some code that code access by another class that we called inheritances.
Top comments (0)