Which Of The Following Statements Isare True About Constructors #92
Which of the following statements is/are true about Constructors in PHP?</p> <pre><code class="language-text"> 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.</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 PHP OOPs - PHP OOPs Basics - Quiz No.2.
Which of the following statements 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.
ii)
ii) and iii)
i), ii), iii) and iv)
ii), iii) and iv)