Question 111

Given the code fragment from three files:

Which code fragment, when inserted at line 2, enables the code to compile?
  • Question 112

    Given the code fragment:

    Which three lines fail to compile?
  • Question 113

    Given:

    What is the result?
  • Question 114

    Given the following code for a Planet object:

    What is the output?
  • Question 115

    Given the code fragment:

    Which two modifications, made independently, enable the code to compile? (Choose two.)