Question 86

Given the for loop construct:
for ( expr1 ; expr2 ; expr3 ) {
statement;
}
Which two statements are true?
  • Question 87


    What is the result?
  • Question 88

    Given the code fragment:
    UnaryOperator<Integer> uo1 = s -> s*2; line n1
    List<Double> loanValues = Arrays.asList(1000.0, 2000.0);
    loanValues.stream()
    .filter(lv -> lv >= 1500)
    .map(lv -> uo1.apply(lv))
    .forEach(s -> System.out.print(s + " "));
    What is the result?
  • Question 89

    Given:

    and the code fragment:

    What is the result?
  • Question 90

    Given:

    And given the code fragment:

    What is the result?