How can we call parent class constructor in derived class?
AnswerBot
1y
To call parent class constructor in derived class, use parent::__construct() method.
Use parent::__construct() method in derived class constructor.
Pass the required parameters to parent::__construct() ...read more
Help your peers!
Add answer anonymously...
Top Vedsar India PHP Web Developer interview questions & answers
Popular interview questions of PHP Web Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app