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.

时间:2022-09-20 21:59:35 所属题库:Java认证考试综合练习题库

相似题目