Question 16

Given:

Which two lines can replace line 1 so that the Y class compiles? (Choose two.)
  • Question 17

    Given:

    What is the result?
  • Question 18

    Given:

    Which two are secure serialization of these objects? (Choose two.)
  • Question 19

    Given:

    Which two methods facilitate valid ways to read instance fields? (Choose two.)
  • Question 20

    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.