Draw the uml diagram for the class and then implement the class

Draw the UML diagram for the class and then implement the class. Write a program that creates two rectangles objects, one with width 4 and height 40 and the other with width 3.5 and height 35.9. Display the width, height, area, and perimeter of each rectangle in this order. Now I must have two classes with one of the classes being name rectangle. The Rectangle class can be created in the same file as your main class or in a seperate file named Rectangle.java

"Get 15% discount on your first 3 orders with us"
Use the following coupon
"FIRST15"

Order Now