Programming - Inheritance - Discussion

You Are Here :: Home > JAVA > Inheritance - Discussion

 



Q.

What are the advantages of inheritance?                         


A. Reusability of code and accessibility of variables and methods of the superclass by subclasses. B. Reusability of code and accessibility of class of the superclass by subclasses.
C. Reusability of code and accessibility of functions of the superclass by subclasses. D. Reusability of code and accessibility of variables and methods of the parentclass by subclasses.

Answer: Option A
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion