Which methods does Class C have access to?

Class C and Class D inherit from Class B. Class B inherits from Class A. The classes have the methods shown in the following table.

All methods have a protected scope.
Which methods does Class C have access to?

Class C and Class D inherit from Class B. Class B inherits from Class A. The classes have the methods shown in the following table.

All methods have a protected scope.
Which methods does Class C have access to?

A.
only m3, m4

B.
only m2, m3

C.
only ml, m3

D.
m1, m3, m3

E.
m2, m3, m4

F.
m1, m2, m3



Leave a Reply 0

Your email address will not be published. Required fields are marked *