public class Rectangle implements Shape {

	public Rectangle(float x1, float y1, float w, float h){
		upperleftx = x1;
		upperlefty = y1;
		width = w;
		height = h;
    }

	public String toString(){
		String returnString;
		returnString = "Regtang whose upper-left at (" + upperleftx + "," + upperlefty + ") and with width:" + width +" and height:" + height;
		return returnString;
    }

    protected float upperleftx, upperlefty, width, height;
}