Refer to the Exhibit.
Given:
ClassA a = new ClassA();
a.methodA();
A.
Compilation fails.
B.
ClassC is displayed.
C.
The code runs with no output.
D.
An exception is thrown at runtime.
Refer to the Exhibit.
Given:
ClassA a = new ClassA();
a.methodA();
A.
Compilation fails.
B.
ClassC is displayed.
C.
The code runs with no output.
D.
An exception is thrown at runtime.