Inherited methods can be overridden by redefining the methods (use the same name) in the child class. Look at the example below. The __construct() and intro() methods in the child class (Strawberry) will override the __construct() and intro() methods in the parent class (Fruit):
The fruit is Strawberry, the color is red, and the weight is 50 gram.