•The old class is known as “base” class, “super” class or “parent” class and the new class is known as “sub” class, “derived” class, or “child” class.
•Single Inheritance
•Multilevel Inheritance
•Hierarchical Inheritance.
•Multiple Inheritance(Java does not support this)
•Hybrid Inheritance (Java does not support this)
•Multipath Inheritance. (Java does not support this)
•
No comments:
Post a Comment