Multiple choice technology web technology

Any object can be cloned

  1. True

  2. False

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

Only objects of classes that implement the Cloneable interface can be cloned using the clone() method. Attempting to clone an object that does not implement this interface throws a CloneNotSupportedException.