class Rectangle { int x; int y; int h; int w; Rectangle(int h, int wid) { this.h = h; w = wid; } void draw() { rect(x,y,w,h); } }