找考题网-背景图
单项选择题

A.Compilation fails.B.ClassC is displayed.C.The code ru……

Click the Exhibit button.
Given: ClassA a = new ClassA();a.methodA();

What is the result?()



A.Compilation fails.
B.ClassC is displayed.
C.The code runs with no output.
D.An exception is thrown at runtime.