Are Parent constructors called implicitly inside a class constructor?
- Raja Swain
- Query: 10 / Answer: 9
- Ramesh Swain
- Query: 11 / Answer: 23
No, a parent constructor have to be called explicitly as follows:
parent::constructor($value)
-
- Information
-
About Forum
This educational forum is produly developed by betaQsolutions-A leading software company in Odisha. This forum is developed to discuss the educational topics only betweeen the Students, teachers, Parents & Experts. Topic related to Career, Syllabus, Subjects, Questions, Exams etc are allowed to discuss here.
-
Statistics
Total topics 43 • Total Query 1114 • Total members 247 • Total Answered 1285