Inheritance In C++, Multiple inheritance
Computer Gyan
Inheritance is the process of creating new classes from existing class. The existing class is known as the base class and the newly created class is called as derived class. In some languages base class is called super class and derived is called the subclass. The derived class inherits all the public and protected capabilities of the base class. It can also add some more features to this class.
The main advantages of the inheritance are:
- re-usability of the code
- to increase the reliability of the code.
- to add some enhancements to the base class.
Types
- single inheritance
- multilevel inheritance
- multiple inheritance
- hybrid inheritace
- tree type inheritance ( hierarchal )
Powtoon app is used for animation
Bandicam software is used to capture screen
music information: You’re free to use this song in any of your videos, but you must include the following in your video description: I Am a Man Who Will Fight for Your Honor by Chris Zabriskie is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/) Source: http://chriszabriskie.com/honor/ Artist: http://chriszabriskie.com/ ... https://www.youtube.com/watch?v=IQGlvX8N0qc
16924841 Bytes