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