Here we can see the inherited perimeter method is being overridden to calculate the perimeter of the different forms of the shapes.
perimeter