Rajesh Shukla Catalyst
Give Vision To Your Future
C++ Tutorial Home Page
What is Inheritance Need For Inheritance Advantages of Inheritance Types of Inheritance Single Inheritance Multilevel Inheritance Multiple Inheritance Sequence of execution of constructors and destructors in inheritance To initialize base class data elements using derived class constructors Hierarchical Inheritance Hybrid Inheritance Virtual base class(Multipath Inheritance) Container class Rules Of Inheritance public Inheritance private Inheritance protected Inheritance MCQ’s Inheritance
Example:1
code
Output:
Example:2
Important Pages
About UsContact UsPrivacy PolicyDisclaimerSitemap