Question 21

Given the code fragment:

Which code fragment, when inserted at line 9, enables the code to print true?
  • Question 22

    Given:

    How many MarkList instances are created in memory at runtime?
  • Question 23

    Given the code fragment:

    Which three code fragments can be independently inserted at line n1 to enable the code to print one?
    (Choose three.)
  • Question 24

    Given the code fragment:

    What is the result if the integer aVar is 9?
  • Question 25

    Given the following main method:

    What is the result?