单项选择题X 纠错
A.test end
B.Compilation fails.
C.test runtime end
D.test exception end
E.A Throwable is thrown by main at runtime.
你可能喜欢
单项选择题
A.00
B.0001
C.000120
D.00012021
E.Compilation fails
F.An exception is thrown at runtime
单项选择题
A.Alpha a = x;
B.Foo f = (Delta)x;
C.Foo f = (Alpha)x;
D.Beta b = (Beta)(Alpha)x;
单项选择题
A.s.defaultReadObject();
B.this = s.defaultReadObject();
C.y = s.readInt(); x = s.readInt();
D.x = s.readInt(); y = s.readInt();
单项选择题
A.sb1.append("abc"); s1.append("abc");
B.sb1.append("abc"); s1.concat("abc");
C.sb1.concat("abc"); s1.append("abc");
D.sb1.concat("abc"); s1.concat("abc");
E.sb1.append("abc"); s1 = s1.concat("abc");
单项选择题
A.public int compareTo(Object o){/*more code here*/}
B.public int compareTo(Score other){/*more code here*/}
C.public int compare(Score s1,Score s2){/*more code here*/}
D.public int compare(Object o1,Object o2){/*more code here*/}
单项选择题
A.test end
B.Compilation fails.
C.test runtime end
D.test exception end
E.A Throwable is thrown by main at runtime.
单项选择题
A.Compilation fails.
B.The file system has a new empty directory named dir.
C.The file system has a new empty directory named newDir.
D.The file system has a directory named dir, containing a file f1.txt.
E.The file system has a directory named newDir, containing a file f1.txt.
单项选择题
A.Closing an open stream.
B.Flushing an open stream.
C.Writing to an open stream.
D.Writing a line separator to an open stream.