Programming - Inheritance - Discussion

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

 



Q.

What is the difference between superclass & subclass?                         


A. A super class is a class that is inherited whereas subclass is a class that does the inheriting. B. A parent class is a class that is inherited whereas subclass is a class that does the inheriting.
C. A child class is a class that is inherited whereas subclass is a class that does the inheriting. D. A parent class is a class that is inherited whereas super is a class that does the inheriting.

Answer: Option A
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion