Given:
5. // insert code here
6. public abstract void bark();
7. }
8.
9. // insert code here
10. public void bark() {
11. System.out.println(“woof”);
12. }
13. }
Which, inserted at lines 5 and 9, allows the file to compile?
A.
5. abstract Dog {
9. public class Poodle extends Dog {
B.
5. class Dog {
9. public class Poodle extends Dog {
C.
5. abstract Dog {
9. public class Poodle implements Dog {
D.
5. abstract class Dog {
9. public class Poodle implements Dog {
E.
5. class Dog {
9. public class Poodle implements Dog {
F.
5. abstract class Dog {
9. public class Poodle extends Dog {