Base Class « Class « C++






1.Base class and derived classBase class and derived class
2.Using base pointers on DerivedClass class objects.Using base pointers on DerivedClass class objects.
3.Pass arguments to base classPass arguments to base class
4.Init member variables from base classInit member variables from base class
5.class to represent a book
6.Use Base keyword to call method in parent class from subclass