Oracle
1Z0-850 · Question #62
1Z0-850 Question #62: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-850 to reveal the answer and full explanation for question #62. The question stem and answer options stay visible for context.
Question
Given:
- // insert code here
- void play();
- void stop();
- // insert code here
- public void play() { }
- public void stop() { }
- } Which, inserted at lines 1 and 5, allows the code to compile?
Options
- A
- interface Player { 5. class DVDPlayer implements Player {
- B
- implements Player { 5. class DVDPlayer interface Player {
- C
- abstract class Player { 5. class DVDPlayer extends Player {
- D
- interface Player { 5. class DVDPlayer extends Player {
- E
- class Player { 5. interface DVDPlayer implements Player {
Unlock 1Z0-850 to see the answer
You've previewed enough free 1Z0-850 questions. Unlock 1Z0-850 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.