2. Inheritance
• What it is and why it is needed
• Protected members
• Order of calling constructors/destructors
• Types of inheritance
– public
– protected
– private
• Methods overload
3. Virtual methods
• Pointers to base class can point to derived
object
• Why it is needed. Method overriding
• Calling basic class methods
• Do not call virtual methods in
constructor/destructor
• Virtual destructors
4. Pure virtual methods
• Pure virtual methods
• Do NOT call virtual methods in
constructor/destructor
• Do not call methods which call virtual
methods in constructor/destructor