Site hosted by Angelfire.com: Build your free website today!
 

What is inheritance?

Inheritance

Create of new classes by defining only the differences from existing classes.

A subclass inherits variables and methods from its superclass and all of its ancestors. The subclass can use these members as is, or it can hide the member variables or override the methods.