单选题Click the Exhibit button. Given: ClassA a = new ClassA( ); a.methodA( ); What is the result? ()ACompilation fails.BClassC is displayed.CThe code runs with no output.DAn exception is thrown at runtime.

题目
单选题
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.


相似考题
参考答案和解析
正确答案: B
解析: 暂无解析