What is the result?
A.
woof arf
B.
woof woof
C.
arf arf
D.
A RuntimeException is generated
E.
The code fails to compile
Explanation:
class Dog {
protected String bark()
public class Beagle extends Dog {
private String bark()
Cannot reduce the visibility of the inherited method from Dog
E