1.

What is inheritance and how is it useful in Java ?

Answer»

Inheritance is the process by which objects of one class can link and share some common properties of objects from another class. It helps in reusability in such a way that it adds some additional features to a class without modifying the contents of a class.



Discussion

No Comment Found

Related InterviewSolutions