MCQs > IT & Programming > PHP > There are two objects- $product1 = new Shop(); $product2 = new Shop(); Which is right about them?

PHP MCQs

There are two objects- $product1 = new Shop(); $product2 = new Shop(); Which one of the following statements is right about them?

Answer

Correct Answer: $product1 and $product2 are different objects of the same type generated from a single class.

Explanation:

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

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it