Microsoft
98-361 · Question #188
Class C and Class D inherit from ClassB. 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…
The correct answer is D. m1, m2, m3. See the full explanation below for the reasoning.
Question
Class C and Class D inherit from ClassB. 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?
Options
- Aonly m1, m3
- Bonly m2, m3
- Cm1, m3, m4
- Dm1, m2, m3
- Em2, m3, m4
- Fonly m3, m4
How the community answered
(57 responses)- A2% (1)
- B11% (6)
- C5% (3)
- D79% (45)
- F4% (2)
Community Discussion
No community discussion yet for this question.