Develop a class named Rectangle with private data members length and width.Make a parameterized Constructor to initialize data members. Now take two method rectarea() and rectperi() to calculate area and parameter. Test the class rectangle.
Answers
Answered by
0
The answer is in the attachment.
The code is in Java.
Hope it helps.
Attachments:
Similar questions