A.char[10]s B.char s[ ] C.char s D.char s [10]
A.true,true B.false,true C.true,false D.false,false E.Compilation fails. F.An exception is thrown at runtime.
A. Compilation will fail. B. Compilation succeeds and no exceptions are thrown. C. Compilation succeeds but an exception is thrown at line 5 in ClassTest.java. D. Compilation succeeds but an exception is thrown at line 6 in ClassTest.java.
A. Java.util.Map. B. Java.util.Set. C. Java.util.List. D. Java.util.StoredSet. E. Java.util.StoredMap. F. Java.util.Collection.
A. 0 B. 1 C. 2 D. 3
A. elm elm elm elm B. tree elm elm elm C. tree elm elm tree D. tree elm tree elm
A. final int k = 4: B. public int k = 4: C. static int k = 4: D. private int k = 4: E. abstract int k = 4: F. volatile int k = 4: G. transient int k = 4: H. protected int k = 4:
A. false B. true C.編譯失敗 D.運行的時候有異常拋出
A.啟動java應用程序的命令是java B.應用程序主類是應用程序的入口點,也可稱之為應用程序啟動類 C.應用程序主類中必須含有main方法,main方法的簽名是public static void main(String[] args){} D.只有應用程序主類可以包含main方法,其它類不可以
A.Compilation fails. B.An exception is thrown at runtime. C.The variable first is set to null. D.The variable first is set to elements[0].