πŸ“Š PHP
Q. Which of the following is a PHP magic method?
  • (A) __construct()
  • (B) init()
  • (C) start()
  • (D) create()
πŸ’¬ Discuss
βœ… Correct Answer: (A) __construct()

Explanation: __construct() is the constructor method automatically called on object creation.

Explanation by: Rati Dubey
__construct() is the constructor method automatically called on object creation.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
66
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
88%
Success Rate