Write a Java program to print the area and perimeter of a rectangle.

Posted Date: