MCQOPTIONS
Saved Bookmarks
| 1. |
Which one of the following is the right way to clone an object? |
| A. | _clone(targetObject); |
| B. | destinationObject = clone targetObject; |
| C. | destinationObject = _clone(targetObject); |
| D. | destinationObject = clone(targetObject); |
| Answer» C. destinationObject = _clone(targetObject); | |