Examveda
Examveda

You can invoke class constructors that don’t have any relation to the instantiated object by simply prefacing _constructor with the class name like.

A. classname::__construct()

B. classname:__construct()

C. classname=>__construct()

D. classname->__construct()

Answer: Option A


This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept