Thursday, January 19, 2017

Advance VB Programming Chapter 02



Inheritance


I- Introduction  

ƒ Inheritance is probably the most powerful feature of OOP. ƒ Inheritance is the process of creating new class, called sub class (derived class, or childclass) from an existing parent class.  The parent class is base class. ƒ The derived class inherits all capabilities of the base class but can add feature of its own. Note that the base class is unchanged by this process. ƒ Any class you created can be a base class and any derived class can become a base class to its derived children class. ƒ The benefit - The most feature of OOP is reusability  - It's always time saving and useful if we can reuse something that already exists rather than trying to create the same thing again and again. - Reduce testing and debug

Download Book Now

0 on: "Advance VB Programming Chapter 02"