Question 106

Given:

You want the code to produce this output:
John
Joe
Jane
Which code fragment should be inserted on line 1 and line 2 to produce the output?
  • Question 107

    Given:
    List<String> longlist = List.of("Hello","World","Beat");
    List<String> shortlist = new ArrayList<>();
    Which code fragment correctly forms a short list of words containing the letter "e"?
  • Question 108

    Which two describe reasons to modularize the JDK? (Choose two.)
  • Question 109

    Given:

    What is the result?
  • Question 110

    Which three initialization statements are correct? (Choose three.)