write a program with a class called shape having sides as variable. Create constructor for the class which will initialize the variable with three. Create a class called "Square" & inherit it from the shape class. Make function to take input in the sides variable and to display area of the square.
Answers
Answered by
0
Explanation:
I think it will help you
Attachments:
Similar questions