Question 1

Given:

What is the result?
  • Question 2

    Given the product class:

    And the shop class:

    What is the result?
  • Question 3

    Given the code fragment:
  • Question 4

    Given:

    What is the result?
  • Question 5

    Given the directory structure:

    Given the definition of the Doc class:

    Which two are valid definition of the wordDoc class?