1z1-809 試験問題を無料オンラインアクセス
| 試験コード: | 1z1-809 |
| 試験名称: | Java SE 8 Programmer II |
| 認定資格: | Oracle |
| 無料問題数: | 209 |
| 更新日: | 2026-09-03 |
Given:
interface Doable {
public void doSomething (String s);
}
Which two class definitions compile? (Choose two.)
Given the content:
and given the code fragment:
Which two code fragments, when inserted at line 1 independently, enable the code to print "Wie geht's?"
Given the code fragment:
List<String> empDetails = Arrays.asList("100, Robin, HR",
"200, Mary, AdminServices",
"101, Peter, HR");
empDetails.stream()
.filter(s-> s.contains("1"))
.sorted()
.forEach(System.out::println); //line n1
What is the result?
Given:
class CheckClass {
public static int checkValue (String s1, String s2) {
return s1 length() - s2.length();
}
}
and the code fragment:
String[] strArray = new String [] {"Tiger", "Rat", "Cat", "Lion"}
//line n1
for (String s : strArray) {
System.out.print (s + " ");
}
Which code fragment should be inserted at line n1 to enable the code to print Rat Cat Lion Tiger?
