Vidyalelo
PHP · Q40

Object Oriented Concept

Programming · PHP · question 40

Q40

Which one of the following statements is true ? class CopyMe first = new CopyMe(); second = first;

A.
In PHP 4: first are 2 distinct objects
Answer
B.
In PHP 5: first are 2 distinct objects
C.
In PHP 4: first refer to one object
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board