MCQs > IT & Programming > PHP 5 > What is wrong with the following code? setValue(10); $a_copy->setValue(20); ?>

PHP 5 MCQs

What is wrong with the following code? setValue(10); $a_copy->setValue(20); ?>

Answer

Correct Answer: You must use the clone operator to make a copy of an object

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More PHP 5 MCQ Questions

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it