Assignment #1: Simple Classes

First, implement a very minimal Rectangle class. A Rectangle stores a length and a width. The length and width may be represented as integers using an int type. For this assignment you need to implement the following functionality: Second, implement Assign1 that reads a file that contains lines, each representing a Rectangle. Assign1 will store the contents of the file in an ArrayList<Rectangle>, and then print the ArrayList. It will also print the total area and perimeter of all the Rectangles and any Rectangle whose area AND perimeter is above the average. The data file is assign1.txt.