0 votes
in JAVA by
What is meant by Inheritance and What are its advantages in Java?

1 Answer

0 votes
by

Inheritance is the process of inheriting all the features from a class. The advantages of inheritance are reusability of code and accessibility of variables and methods of the super class by subclasses.

Related questions

+1 vote
asked Jan 27, 2020 in JAVA by rahuljain1
+1 vote
asked Dec 7, 2020 in JAVA by SakshiSharma
...