Java Scripting Assignment 3

Create an array of rectangle objects and print them out in a for loop.

A rectangle has 2 points and can print itself - include area in the print.