You are not logged in.

#1 2017-12-07 15:07:19

hamidoon123
Moderator
Registered: 2017-09-21
Posts: 50,766

Which one of the following is the right way to clone an object?

Software Engineering Exams Quizzes MCQs Quizzes PHP Online MCQs Test

Question:
Which one of the following is the right way to clone an object?

Option A):
destinationObject = clone(targetObject);
Option B):
_clone(targetObject);
Option C):
destinationObject = clone targetObject;
Option D):
destinationObject = _clone(targetObject);

Correct Answer is Option C):
destinationObject = clone targetObject;

2017-12-07 15:07:19

Advertisement
Ads By Google

Re: Which one of the following is the right way to clone an object?



Board footer