Inheritance
Simple inheritance:
Need of virtual methods
Pure Virtual Methods: To make sure a person cannot be instantiated, we can make a member function as pure virtual
Need of virtual destructor
Pure virtual methods
Importance of override keyword
Limitation of inheritance where the called function doesn’t exist in the base class.
Written on February 2, 2020