單項(xiàng)選擇題

Click the Exhibit button.  
Given: ClassA a = new ClassA();  
a.methodA();  
What is the result?()

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

微信掃碼免費(fèi)搜題