Question 131

Given the code fragment:

Which code fragment, when inserted at line 7, enables printing 100?
  • Question 132

    Given the structure of the Student table:
    Student (id INTEGER, name VARCHAR)
    Given the records from the STUDENT table:

    Given the code fragment:

    Assume that:
    What is the result?
  • Question 133

    Given:
  • Question 134

    Given the code fragment:
    List<String> nL = Arrays.asList("Jim", "John", "Jeff");
    Function<String, String> funVal = s -> "Hello : ".contact(s);
    nL.Stream()
    .map(funVal)
    .peek(System.out::print);
    What is the result?
    Hello : Jim Hello : John Hello : Jeff
  • Question 135

    Which two statements are true for a two-dimensional array of primitive data type?