Q. Which of the following statements are true is/are true about constructors in PHP?
(i) PHP 4 introduced class constructors.
(ii) Constructors can accept parameters.
(iii) Constructors can call class methods or other functions
(iv) Class constructors can call on other constructors.
-
(A)
All of the mentioned
-
(B)
None of the mentioned
-
(C)
only i
-
(D)
only ii
β
Correct Answer: (A)
All of the mentioned