Given:
public class Canvas implements Drawable {
public void draw () { }
}
public abstract class Board extends Canvas { }
public class Paper extends Canvas {
protected void draw (int color) { }
}
public class Frame extends Canvas implements Drawable {
public void resize () { }
}
public interface Drawable {
public abstract void draw ();
}
Which statement is true?
Board does not compile.
A.
Paper does not compile.
B.
Frame does not compile.
C.
Drawable does not compile.
D.
E. All classes compile successfully.