
public class Rectangle {

	private int width, height;

	public Rectangle() {
		width = 25;
		height = 10;
		System.out.println("Default rectangle created: width = 25, height = 10");
	}

	public Rectangle(int w, int h) {
		if (w > 0 && x < 30 && h > 0 && h < 30) {
			width = 25;
			height = 10;
		}
		System.out.println("Default rectangle created: width = 25, height = 10");
	}
}
