PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
only m1, m3

B.
only m2, m3

C.
m1, m3, m4

D.
m1, m2, m3

E.
m2, m3, m4

F.
only m3, m4


Leave a Reply