MagicLen

標籤

OCPJP - 第 9 頁

Oracle Certified Professional Java SE Programmer (OCPJP).

共 128 篇文章

[OCPJP] 泛型

Which option fails? A. Foo<String, Integer> mark = new Foo<String, Integer> ("Steve", 100); B. Foo<String, String> pair = Foo.<String>twice ("Hello World!"); C. Foo<?, ?> percentage = new Foo<?, ?>(9...

[OCPJP] 搬移檔案

Which statement is true? A. The green.txt file content is replaced by the yellow.txt file content and the yellow.txt file is deleted. B. The yellow.txt file content is replaced by the green.txt file ...

[OCPJP] 邏輯相等

Which statement is true? A. The program prints true. B. The program prints false. C. A compilation error occurs. To ensure successful compilation, replace line n1 with: boolean equals (Book obj) { D....