Question 121

Given the code fragment:

What is the result?
  • Question 122

    Given the code fragment:

    What is the result?
  • Question 123

    Given:

    A) An exception is thrown at run time.
    B)

    C) The compilation fails due to an error on line 2.
    D) The compilation fails due to an error on line 1.
    E)

    F)
    The compilation fails due to an error on line 3.
  • Question 124

    Given:

    Which option should you choose to enable the code to print Something happened?
  • Question 125

    Given:

    What is the result?