Hierarchy Browser Contents Previous Next Hierarchy Browser Inheritance , a type of relationship between objects, allows one object to share behavior with one or more other objects.
Inheritance provides a basic mechanism for the reuse of code.
Sharing with more than one is known as multiple inheritance . The Hierarchy Browser can display the entire class hierarchy, including the superclasses and subclasses of a selected class. This helps you understand class hierarchy trees, which in turn helps you to reuse existing code. A baseclass is a top-level class in the class hierarchy. A class a is said to be a superclass of class b when class b inherits from a or another class that inherits from a .