public class Rectangle
{
	public int height;	//it would be better if height were private
	public int width;	//it would be better if width were private
	private int somePrivateAttribute;
	
	//Constructors
	public Rectangle()
	{
		height = 0;
		width = 0;
	}
	
	public Rectangle(int newHeight, int newWidth)
	{
		height = newHeight;
		width = newWidth;
	}
	
	//Accessors (Getters)
	public int getHeight()
	{
		return height;
	}
	
	public int getWidth()
	{
		return width;
	}
	
	//Mutators (Setters)
	public void setHeight(int newHeight)
	{
		height = newHeight;
	}
	
	public void setWidth(int newWidth)
	{
		width = newWidth;
	}
	
	//Facilitator methods	
	public void print()
	{
		System.out.println("This is a " + height + " by " + width + " rectangle");
	}
	
	private void somePrivateMethod()
	{
		System.out.println("This method is private");
	}
}