单选题Given the command line java Pass2 and: What is the result? ()AdoStuff x = 6 main x = 6BCompilation fails.CdoStuff x = 6 main x = 7DAn exception is thrown at runtime.EdoStuff x = 7 main x = 6FdoStuff x = 7 main x = 7

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


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