Header Ads Widget

Top Billboard Ads

Unit III: Inheritance | BCA 3rd Semester C++ Programming Notes Pdf

The mechanism of deriving a new class from an old class is called inheritance (or derivation). The old class is known as the base class and a new one is called a derived class. The derived class inherits some or all properties from the base class. A class also inherits properties from more than one class or from more than one level. For example, if a class Dog is a sub-class of Mammal, and class Mammal is a subclass of Animal, then class Dog will inherit attributes from both mammal and animal classes.

Inheritance – C++ Programming

In this “Inheritance – C++ Programming” you will learn about the following topics:

  1. Introduction to Inheritance
  2. Visibility Mode and Protected Mode
  3. Types of Inheritance
  4. Single Inheritance, Multiple Inheritances, Multilevel Inheritance, Hierarchical Inheritance, Hybrid Inheritance
  5. Forms of Inheritance
  6. Sub-Classing/Inheritance for Specialization (Subtype), Sub-Classing for Specification, Sub-Classing for Construction, Sub-Classing for Generalization, Sub-Classing for Extension, Sub-Classing for Limitation, Sub-Classing for Variance, Sub-Classing for Combination
  7. Advantages of Inheritance
  8. Disadvantages of Inheritance
  9. Base Class and Derived Class
  10. Difference between Base Class and Derived Class
  11. Ambiguity Problem
  12. Constructors in Derived Classes
  13. Virtual Base Class
  14. Abstract Class
  15. Pure Abstract Classes
  16. Function Overriding




==== Point to Note ====

If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].

See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

BCA 3rd Semester C++ Programming Notes Pdf:

Post a Comment

0 Comments