Oracle
1Z0-804 · Question #145
Given: What is the result of invoking Car's scop method?
Sign in or unlock 1Z0-804 to reveal the answer and full explanation for question #145. The question stem and answer options stay visible for context.
Advanced Class Design
Question
Given:
What is the result of invoking Car's scop method?
Exhibit
Options
- ABoth vehicles and Motorized's stop methods are invoked.
- BVehicles stop method is invoked.
- CMotorized's stop method is invoked-
- DThe implementation of the Car's stop determines the behavior.
- ECompilation fails.
Unlock 1Z0-804 to see the answer
You've previewed enough free 1Z0-804 questions. Unlock 1Z0-804 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
#interface default methods#multiple interface inheritance#method resolution#polymorphism
