Encapsulation:
Encapsulation is the mechanism of hiding data implementation by restricting access to public methods.
Abstraction:
It means data hiding from outside world(client code). Client code should not know the actual functionality of the code.
Inheritance:
Parent child relationship
Improves code reusability
Child class can have all parent class method as well as specific methods | reduces code duplicacy when many child classes present
Polymorphism:
It means one name in many forms. It is further of two types — static and dynamic.
Kalyani | Edyoda-TA