Single Choice
Not Set
QPHP recognizes constructors by the name.
ID: #2565
Object Oriented Concept of PHP
3,082 views
Question Info
#2565Q ID
Not SetDifficulty
Object Oriented Concept of PHPTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
A double underscore followed by the construct keyword. Its syntax is function __construct ([ argument1, argument2,.....]) { Class Initialization code }
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic