Write A Program that illustrate method overriding. Class Bond is extended by ConvertibleBond. Each of these classes defines a display() method that outputs Bonds and ConvertibleBonds respectively. Declare an array to hold 6 Bond objects. Initialize the elements of an array with mix of Bond and CovertibleBond objects. Execute a program loop to invoke the display() method of each object.

