Answer Posted / Santosh
In PHP, when you create an object of a child class, the parent class constructor is called automatically as part of the object creation process. If you want to override this behavior, you can use the parent keyword in the child class constructor.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers