There Are Two Objectsbr Product1 New Shopbr Product2 New Shopbr #293
There are two objects-<br /> $product1 = new Shop();<br /> $product2 = new Shop();<br /> Which one of the following statements is right about them?
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 Objects and Databases - PHP Object Basics - Quiz No.1.
There are two objects-
$product1 = new Shop();
$product2 = new Shop();
Which one of the following statements is right about them?
$product1 = new Shop();
$product2 = new Shop();
Which one of the following statements is right about them?
$product1 and $product2 are same objects of the same type generated from a single class
$product1 and $product2 are different objects of the same type generated from a single class
$product1 and $product2 are same objects of the different type generated from a single class
$product1 and $product2 are different objects of the different type generated from a single class