[OCAJP] 继承与构造器 3
What is the result? A. 4W 100 Auto 4W 150 Manual B. null 0 Auto 4W 150 Manual C. Compilation fails only at line n1 D. Compilation fails only at line n2 E. Compilation fails at both line n1 and line n...
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
分类
认证考试的考古题与模拟题解析,包含 Linux 认证(LPIC-1、LPIC-2)与 Java 认证(OCAJP、OCPJP),每一题都附上答案与详细的解说。
共 888 篇文章
What is the result? A. 4W 100 Auto 4W 150 Manual B. null 0 Auto 4W 150 Manual C. Compilation fails only at line n1 D. Compilation fails only at line n2 E. Compilation fails at both line n1 and line n...
What is the result? A. Values are : [EE, ME] B. Values are : [EE, EE, ME] C. Values are : [EE, ME, EE] D. Values are : [SE, EE, ME, EE] E. Values are : [EE, ME, SE, EE]
Which inserted at line 11, will provide the following output? [21, 15, 11] A. list.removeIf(e -> e % 2 != 0); B. list.removeIf(e -> e % 2 == 0); C. list.remove(e -> e % 2 == 0); D. None of the above...
What is the result? A. Happy Journey! Duke B. Happy Journey! Java C. An exception is thrown at runtime D. The program fails to execute due to a runtime error
What is the result? A. Found Red Found Default B. Found Teal C. Found Red Found Blue Found Teal D. Found Red Found Blue Found Teal Found Default E. Found Default
What is the result? A. c = null b = false f = 0.0F B. c = 0 b = false f = 0.0f C. c = null b = true f = 0.0 D. c = b = false f = 0.0
What is the result? A. A B C B. A B C D E C. A B D E D. Compilation fails.
Which two are Java Exception classes? A. SercurityException B. DuplicatePathException C. IllegalArgumentException D. TooManyArgumentsException
What is the result? A. ns = 50 s = 125 ns = 125 s = 125 ns = 100 s = 125 B. ns = 50 s = 125 ns = 125 s = 125 ns = 0 s = 125 C. ns = 50 s = 50 ns = 125 s = 125 ns = 100 s = 100 D. ns = 50 s = 50 ns = ...
What is the result? A. Ym Xm2 B. Ym Xm1 C. Compilation fails D. A ClassCastException is thrown at runtime