PrepAway - Latest Free Exam Questions & Answers

Class B inherits from Class

PrepAway - Latest Free Exam Questions & Answers

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 m1, m3

B.
only m2, m3

C.
m1, m3, m4

D.
m1, m2, m3

E.
m2, m3, m4

F.
only m3, m4

One Comment on “Class B inherits from Class


Leave a Reply