Multiple choice

Which of the following is the method in 'Cloneable' interface?

  1. Copy()

  2. Clone()

  3. toString()

  4. finalize()

  5. None of the above

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Cloneable is the marker interface. It does not contain any methods.