Given:
What is the result?
Correct Answer:
D
Given the code fragment:
List
int i = 0;
boolean result = s.contains (“pen”);
System.out.print(i++) + “:”); return result;
};
str.stream()
.filter(test)
.findFirst()
.i fPresent(System.out ::print); What is the result?
Correct Answer:
A
Given the code fragments:
and
What is the result?
Correct Answer:
D
In 2015, daylight saving time in New York, USA, begins on March 8th at 2:00 AM. As a result, 2:00 AM becomes 3:00 AM.
Given the code fragment:
Which is the result?
Correct Answer:
B
Given the code fragment:
What is the result ?
Correct Answer:
A