Computer Science, asked by ritikakhandelwal66, 5 days ago

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 yashshedge95
0

Explanation:

I think it will help you

Attachments:
Similar questions