2
24
234
246
2346
Compilation fails.
第1题:
Given: 11.String test = "This is a test"; 12.String[] tokens = test.split("/s"); 13.System.out.println(tokens.length); What is the result?()
第2题:
collie
harrier
Compilation fails.
collie harrier
An exception is thrown at runtime.
第3题:
A.00
B.0001
C.000120
D.00012021
E.Compilation fails.
F.An exception is thrown at runtime.
第4题:
Compilation fails.
An exception is thrown at runtime.
The code executes normally and prints "sleep".
The code executes normally, but nothing is printed.
第5题:
test
Exception
Compilation fails.
NullPointerException
第6题:
Given: 12. System.out.format("Pi is approximately %d.", Math.PI); What is the result?()
第7题:
r, t, t,
r, e, o,
Compilation fails.
An exception is thrown at runtime.
第8题:
A.True
B.Not true
C.An exception is thrown at runtime.
D.Compilation fails because of an error at line 12.
E.Compilation fails because of an error at line 19.
第9题:
2
3
12
23
123
Compilation fails.
An exception is thrown at runtime.
第10题:
2
24
234
246
2346
Compilation fails.