Programming - Inheritance - Discussion

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

 



Q.

When can subclasses not access superclass members?                         


A. When superclass is declared as private. B. When superclass is declared as public.
C. When childclass is declared as private. D. When child class is declared as public.

Answer: Option A
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion