Write a program to show that the declaration of a class ‘Rectangle’

c) Write a program to show that the declaration of a class ‘Rectangle’, which derives from
the class ‘square’, which in turn derives from the class ‘shape’.

Leave a Reply