Java Program – to calculate the area of a rectangle.

Output: