A.GET B.PUT C.POST D.RETRIEVE
A.The charAt() method of the String class. B.The toUpperCase() method of the String class. C.The replace() method of the String class. D.The reverse() method of the StringBuffer class. E.The length() method of the StringBuffer class.
A. Just after line 5. B. Just after line 6. C. Just after line 7. D. Just after line 8(that is, as the method returns).
A. id B. name C. type D. param E. property F. reqParam G. attribute
A.A B.B C.C D.D
A.Compilation fails. B.An exception is thrown at runtime. C.doStuff x=6 main x=6 D.doStuff x=5 main x=5 E.doStuff x=5 main x=6 F.doStuff x=6 main x=5
A.Java源文件的擴(kuò)展名應(yīng)為.java B.Java源文件的文件名應(yīng)與文件中的類名一致 C.Java字節(jié)碼文件的擴(kuò)展名應(yīng)為.java D.一個Java源文件中只能包含一個Java類
A. Compilation succeeds and 1 is printed. B. Compilation succeeds and 2 is printed. C. An error at line 8 causes compilation to fail. D. An error at line 14 causes compilation to fail. E. Compilation succeeds but an exception is thrown at line 14.
A. 4,4 B. 4,5 C. 5,4 D. 5,5 E. Compilation fails.
A.運(yùn)行:“java FristApp.java” B.運(yùn)行:“java FristApp” C.運(yùn)行:“javac FristApp.class” D.直接雙擊編譯好的java目標(biāo)碼文件執(zhí)行