logo codesdope

constructor

   Sakshi_09

Write a program to print the area of two rectangles having sides (4,5) and (5,8) respectively by creating a class named 'Rectangle' with a function named 'Area' which returns the area. Length and breadth are passed as parameters to its constructor.


Answers

Write your answer
Close

Welcome.please sign up.

Close

Welcome.please login.