Which statement is true about java.time.Duration?
Correct Answer:
C
Which code fragment is required to load a JDBC 3.0 driver?
Correct Answer:
B
Given the code fragment:
List
.map(n -> n*2) //line n1
.p eek(System.out::print) //line n2
.count();
What is the result?
Correct Answer:
A
Given:
and the code fragment:
Which modification enables the code fragment to print Speaker?
Correct Answer:
B
Given the code fragment:
String str = “Java is a programming language”; ToIntFunction
System.out.println(x); What is the result?
Correct Answer:
A