class Box {

	// fields
	private int height = 1;
	private int width = 1;
	private int length = 1;

	// constructors
	public Box() {
		height = 10;
		width = 10;
		length = 10;
	}

	public Box(int h, int l, int w) {
		//input validation
		if(h > 0) {
			height = h;
		}
		if (l > 0) {
			length = l;
		}
		if (w > 0) {
			width = w;
		}
	}

	// Getter Methods
	public int getHeight() {
		return height;
	}
	public int getWidth() {
		return width;
	}
	public int getLength() {
		return length;
	}
	

}
