Abstract Class We have already discussed, inheritance is a mechanism by which one object can acquire all the properties and behavior of a parent object. For example, A Mobile super class. Let’s consider, a mobile should be capable of at…
Tag: Polymorphism
Pillars of OOP
Today we will discuss 4 pillars of OOP (Object Oriented Programming). Abstraction Encapsulation Inheritance Polymorphism Abstraction Abstraction is a process of hiding implementation details and exposes only the functionality to the user. This means the user will only know what…