Single inheritance

Single inheritance is the simplest form of inheritance, whereby a derived class has only one parent class. In the following diagram, class B is derived from class A, and class A is a superclass of class B. The programming and advanced programming examples in the property-overriding section were examples of single inheritance:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.173.53