SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Java

» Start this Course
(Practice similar questions for free)
Question:

What is inheritance? and the various types ?

Author: mirudula laxmi



Answer:

Inheritance is one of the major features of object-oriented programming, by which an entity inherits some characteristics and behaviors of some other entity and makes them their own. Inheritance helps to improve and facilitate code reuse. The various types of inheritance include: Single inheritance Multiple inheritances Multi-level inheritance Hierarchical inheritance Hybrid inheritance


0 / 5  (0 ratings)

1 answer(s) in total