Multiple choice

___________ method creates and returns a copy of an object.

  1. copy()

  2. clone()

  3. xcopy()

  4. copyObject()

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

The clone() method creates and returns a copy of an object.