Given:
1. // insert code here
2. void play();
3. void stop();
4. }
5. // insert code here
6. public void play() { }
7. public void stop() { }
8. }
Which, inserted at lines 1 and 5, allows the code to compile?
A.
1. interface Player {
5. class DVDPlayer implements Player {
B.
1. implements Player {
5. class DVDPlayer interface Player {
C.
1. abstract class Player {
5. class DVDPlayer extends Player {
D.
1. interface Player {
5. class DVDPlayer extends Player {
E.
1. class Player {
5. interface DVDPlayer implements Player {