MagicLen

标签

OCPJP - 第 7 页

Oracle Certified Professional Java SE Programmer (OCPJP).

共 128 篇文章

[OCPJP] 排序串流

Which code fragment, when inserted at line n1, sorts the employees list in descending order of fName and then ascending order of lName? A. .sorted(Comparator.comparing(Emp::getfName).reversed().thenC...

[OCPJP] 泛型 2

What is the result? A. Java 100 B. java.lang.string@<hashcode>java.lang.Integer@<hashcode> C. A compilation error occurs. To rectify it, replace line n1 with: Test<Integer> type1 = new Test<>(); D. A...