package class4_2_ShapeComparison_start;// Dr. Yoder. MSOE. 27 March 2017 public class Rectangle { private double width; private double height; /** Create a new rectangle * * @param width width of the rectangle in meters * @param height height of the rectangle in meters */ public Rectangle(double width, double height) { this.width = width; this.height = height; } @Override public String toString() { return width+" x "+height+" rectangle"; } }