1.

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

A. $product1 and $product2 are same objects of the same type generated from a single class
B. $product1 and $product2 are different objects of the same type generated from a single class
C. $product1 and $product2 are same objects of the different type generated from a single class
D. $product1 and $product2 are different objects of the different type generated from a single class
Answer» C. $product1 and $product2 are same objects of the different type generated from a single class


Discussion

No Comment Found