Object-Oriented Language:
The real entities in this world can be defined as objects. They can be like a tree, fan, tv etc. The language which describes the behaviour of such kind of objects is known as OOPS.
It mainly defines two aspects:
1. Classes: Class can be defined as a collection of objects having the same kind of behaviour.
2. Objects: It is a real-time entity.
The concepts pertaining to the oops are:
1. Inheritance: It is the resemblance of parent class characteristics to the child class.
2. Abstraction: It is only revealing the exact information and hiding unnecessary data.
3. Polymorphism: It is defined as many forms :
a. Overloading.
b. Overriding.
4. Encapsulation: It has the protection to the data that could be given by access specifiers.