试题详情
单项选择题 public static void main(String[]args){ Integer i=new Integer(1)+new Integer(2); switch(i){ case3:System.out.println("three");break; default:System.out.println("other");break; } } Whatistheresult?()

A、three

B、other

C、Anexceptionisthrownatruntime.

D、Compilationfailsbecauseofanerroronline12.

E、Compilationfailsbecauseofanerroronline13.

F、Compilationfailsbecauseofanerroronline15.

  • A
  • 关注下方微信公众号,在线模考后查看

热门试题