This is from Practice Exam Q7:
SCJP Exam for J2SE 5 Platform Paul Sanghera
Consider the following source file:
Which of the following code lines insered independently at line 7 will make this source file compile?
A: interface Pasture {void graze();}
B: interface Pasture {void graze(){}}
C: interface Pasture extends Animal{void graze();}
D: interface Pasture extends Animal{void saySomething(){}}
E: interface Pasture implements Animal{void graze();}
Answer: A+C
I put A, I don't see how C can be correct when the saySomething() method in Animal is implicitly public and here we'd be setting default access levels???