java

Views:
 
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

Slide 1:

MUTILEVEL HIERARACHY Vasanthan V 09MTBI29 Presentation by,

OBJECTIVES:

OBJECTIVES Inheritance Creating Multilevel hierarchy

INTRODUCTION:

INTRODUCTION Inheritance-is a compile-time mechanism in Java that allows you to extend a class (called the base class or s uperclass ) with another class (called the derived class or subclass ).

Slide 4:

Inheritance-allows creation of hierarchical classification Superclass-class inherited Subclass-class does inheriting

CREATING MULTILEVEL HIERARCHY:

CREATING MULTILEVEL HIERARCHY Many layers of inheritance Use a subclass as a superclass of another To understand about multilevel hierarchy clearly see the following program..

Slide 6:

Java program for Creating multilevel hierarchy

CONCLUSION:

CONCLUSION We have thus discussed about.. Creating Multilevel hierarchy

References:

References The Complete Reference JAVA 2-Third Edition-Patrick Naughton and Herbert Schildt .( pg:205-209)