Question: Which statement must be inserted on line 1 to print the value true?

  1. `Integer val = 15;`
  2. `String val = "Sam";`
  3. `String val = null;`
  4. `Optional val = Optional.empty();`

Answer: The correct answer of the above question is Option B:`String val = "Sam";`