1
31kviews
Explain different types of inheritance with example.

Similar questions

Explain multiple inheritance in Java with example.

Marks: 10 M

Year: May 2014, May 2015, Dec 2014

1 Answer
1
1.1kviews
  • The mechanism of deriving a new class from existing one is called as Inheritance. The old class or existing class is known as super class and new class is known as subclass.
  • The subclass derives all of the instance variables and methods defined by super class and add its own …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.