Question 21

Given: What is the result?
  • Question 22

    Given the code fragment:

    Which modification enables the code fragment to print TrueDone?
  • Question 23

    Given the code fragment:

    Which code fragment prints red: blue: small: medium?
  • Question 24

    Given:

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

    Which three statements are true about the structure of a Java class?