Inheritance is a well-established object oriented programming principle. PHP object model makes use this principle. Inheritance is useful for defining and abstracting functionality, and permits the implementation of additional functionality in similar objects without the need to reimplement all of the shared functionality.
Click here for example of Inheritance in PHP
Comments
Post a Comment