// array of objects

class Rect {
    int w;
    int h;
}

public class array1 {
    public static void main(String[] args) {

	final int SIZE = 10;
        Rect[] r = new Rect[SIZE];
        r[0] = new Rect();
        r[0].w = 1;
        r[0].h = 2;

	// draw box!

	// make lots more:
	for(int i=1; i < 10 ; i++)
	    r[i] = new Rect();
	
    }
}

