The English test has to be ______ because our professor will be out this weekend.A. put inB. put onC. put offD. put up
The English test has to be ______ because our professor will be out this weekend.
A. put in
B. put on
C. put off
D. put up
相关考题:
staticvoidtest()throwsRuntimeException{try{System.out.print(”test);thrownewRuntimeException();}catch(Exceptionex){System.out.print(”exception);}}publicstaticvoidmain(String[]args){try{test();}catch(RuntimeExceptionex){System.out.print(”runtime);}System.out.print(”end);}Whatistheresult?()A.testendB.Compilationfails.C.testruntimeendD.testexceptionendE.AThrowableisthrownbymainatruntime.
阅读下面代码 public class Test2005 { public static void main(String args[]) { String s="Test"; switch(s) { case"Java":System.out.print("Java"); break; case"Language":System.out.print("Language"): break; case"Test":System.out.print("Test"); break; } } } 其运行结果是A.JavaB.LanguageC.TestD.编译出错
阅读下列代码 public class Test { public static void main(String args[]) { String s = "Test"; switch (s) { case "Java": System.out.print("Java"); break; case "Language": System.out.print("Language"); break; case "Test": System.out.print("Test"); break; } } } 其运行结果是( )。A.JavaB.LanguageC.TestD.编译出错
如下的代码段中,如果方法unsafe()正常运行,那么结果是( )。 public void example() { try { unsafe(); System.out.println("Testl"); }catch(SafeException e) { System.out.println("Test 2"); }finally{ System.out.println("Test 3'); } System.out.println("Test 4"); }A.Test 3 Test 4B.Test1 Test3 Test4C.Test1 Test3D.Test1 Test4
阅读卜列代码 public class Test2005{ public static voidmain(Stringargs[]){ String s="Test"; switch(s){ case"Java":System.out.print("Java"); break; case"Language":System.out.print("Language"); break; case"Test":System.out.print("Test"); break; } } } 其运行结果是( )。A.JavaB.LanguageC.TestD.编译时出错
阅读下列代码 public class Test2005 { public static void main(String args[]){ String s="Test"; switch (s){ case "Java": System.out.print("Java"); break; case "Language": System.out.print("Language"); break; case "Test": System.out.print("Test"); break; } } } 其运行结果是( )。A.JavaB.LanguageC.TestD.编译出错
以下代码:if (a >4)System.out.println("test1");else if (a >9)System.out.println("test2");elseSystem.out.println("test3");a为何值将有输出结果test2 ? A. 小于 0B. 小于 4C. 4 和9之间D. 大于9E. 无任何可能
设有如下代码段, x为哪些数时输出内容中含有 "Test2" ? switch (x) { case 1 : System.out.println("Test1"); case 2 : case 3 : System.out.println("Test2"); break; } System.out.println("Test3");A.0B.1C.2D.3
设有如下代码段, x为哪些数时输出内容中含有 "Test2" ? switch (x) { case 1 :System.out.println("Test1"); case 2 : case 3 :System.out.println("Test2");break; } System.out.println("Test3");A.2B.1C.0D.3
如果下列的方法能够正常运行,在控制台上将不显示()选项。 public void example() { try{ unsafe(); System.out.println("Test1"); }catch(SafeException e) { System.out.println("Test2"); }finally{ System.out.println("Test3"); } System.out.println("Test4"); }A.Test1B.Test2C.Test3D.Test4