/**
 * Created by Nathan_Zeplowitz on 4/9/15.
 */
public class Main {
    public static void main(String[] args) {
        double rectanglesTotalArea = 0;

        Rectangle [] rectangles = new Rectangle[5];

        for (int i = 0; i < 5; i++){
            rectangles[i] = new Rectangle();
        }

    }
}

Add Main Method to Create 5 Rectangle Objects