

InterviewSolution
Saved Bookmarks
1. |
Write a program to create a class Rectangle with a main() method to declare the variable l and b to initialize the length and breadth of the rectangle. calculate and print the area and perimeter of the rectangle by using the following formulae: - Area = length*breadth Perimeter = 2(length*breadth) |
Answer» TION:PLEASE MARK me BRAINLIST | |