Examveda
Examveda

Which of the following statements is/are true about Constructors in PHP?
1. PHP 4 introduced class constructors.
2. Constructors can accept parameters.
3. Constructors can call class methods or other functions.
4. Class constructors can call on other constructors.

A. 2 and 4

B. All of the mentioned

C. None of the mentioned

D. 2, 3 and 4

Answer: Option B


This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept