Question 6

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 7

    Given:

    Which two lines of code when inserted in line 1 correctly modifies instance variables? (Choose two.)
  • Question 8

    Given:

    Which three are true?
  • Question 9

    Given the code fragment:

    What is the result?
  • Question 10

    Given:

    Which one is correct?