Microsoft
98-361 · Question #186
You have a class named Truck that inherits from a base class named Vehicle. The Vehicle class includes a protected method named brake (). How should you call the Truck Class implementation of the…
Sign in or unlock 98-361 to reveal the answer and full explanation for question #186. The question stem and answer options stay visible for context.
Understanding Object-Oriented Programming
Question
You have a class named Truck that inherits from a base class named Vehicle. The Vehicle class includes a protected method named brake (). How should you call the Truck Class implementation of the brake () method?
Options
- AMybase.brake ()
- BTruck.brakef)
- CVehicle.brake()
- DMe.brake ()
Unlock 98-361 to see the answer
You've previewed enough free 98-361 questions. Unlock 98-361 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#inheritance#method invocation#base class methods#Mybase keyword