Showing posts with label Intermediate base class. Show all posts
Showing posts with label Intermediate base class. Show all posts

Tuesday, 21 January 2014

MULTILEVEL HIERARCHY IN JAVA PROGRAMMING

MULTILEVEL HIERARCHY


Creating multilevel hierarchy in java

In simple inheritance a subclass or derived class derives the properties from its parent class, but in multilevel inheritance a subclass is derived from a derived class. One class inherits only single class. Therefore, in multilevel inheritance, every time ladder increases by one. The lower most class will have the properties of all the super classes’.