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.
Given: What is the result of calling search with a valid List implementation? ()
A. 0 B. The result is undefined. C. a D. 2 E. 1 F. c G. b
Given the command line java Pass2 and: What is the result? ()
A. doStuff x = 6 main x = 6 B. Compilation fails. C. doStuff x = 6 main x = 7 D. An exception is thrown at runtime. E. doStuff x = 7 main x = 6 F. doStuff x = 7 main x = 7