public class Ex27_RectangleDemo { public static void main(String[] args) { Ex27_Rectangle box = new Ex27_Rectangle(); System.out.println("Sending the value 10.0 to the setLength method."); box.setLength(10.0); System.out.println("Done setLength."); box.setWidth(20.0); System.out.println("Done setWidth."); System.out.println("The box's length is "+box.getLength()); System.out.println("The box's width is "+box.getWidth()); System.out.println("The box's area is "+box.getArea()); } }