package pack0201;

public class testRectangle
{
	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		// TODO Auto-generated method stub
		//Rectangle monRect = new Rectangle (10, 20, 30, 60);
		Rectangle monRect = new Rectangle();
		System.out.println("Haut : " + monRect.getHaut());
		System.out.println("Gauche : " + monRect.getGauche());
		System.out.println("Longueur : " + monRect.getLongueur());
		System.out.println("Largeur : " + monRect.getLargeur());
		System.out.println("Périmètre : " + monRect.getPerimetre());
		System.out.println("Aire : " + monRect.getAire());
		System.out.println("Carré ? " + (monRect.isCarre() ? "Oui" : "Non"));
	}
}
