OOPS in PHPv

Which of the following statements regarding OOPS in PHP is/are true?

S1: __construct() function is used to define constructor in PHP.

S2: While writing a code in PHP to provide a common function names to the implementers you may use interfaces.

Options
  1. $1
  2. $2
  3. $1 and $2
  4. None

Related Posts

Close Bitnami banner
Bitnami