@@ -0,0 +1,1696 @@
+/**%0A * Steven Ward%0A * RoomDimension.java %7C Carpet Calculator Project%0A *%0A * The file contains the definition of the RoomDimension class, which is described below.%0A *%0A * Due Date: October 09, 2016%0A *%0A */%0A%0A/**%0A * RoomDimension class to %22wrap%22 the dimensions of a room.%0A * The 'RoomDimension' class exists to provide an additional layer of encapsulation for the%0A * underlying data used by an instance of the 'RoomCarpet' class. Instances of the 'RoomDimension'%0A * class possess two (2) private, member fields, 'length' and 'width', which represent the length%0A * and width, in feet, of a room, respectively. This class does not provide accessor functions for%0A * these fields, as their exact values are irrelevant to the program's implementation. Instead,%0A * a 'getArea()' member function is provided to return the product of that instance's 'length' and%0A * 'width' fields as a double type. The only other function provided is the 'toString()' member%0A * function, which returns a String output of the information contained in, and provided by, an%0A * instance of the 'RoomDimension' class. A public constructor is also provided.%0A *%0A * @see #length%0A * @see #width%0A * @see #getArea%0A * @see #toString%0A * @see RoomCarpet#size%0A */%0A%0Apublic class RoomDimension %7B%0A%0A  private final double length;  // A room's length in feet.%0A  private final double width;   // A room's width in feet.%0A%0A  public RoomDimension(double len, double w) %7B%0A    this.length = len;%0A    this.width = w;%0A  %7D%0A%0A  public double getArea() %7B%0A    return this.length * this.width;%0A  %7D%0A%0A  public String toString() %7B%0A    return ( %22The room is %22 + this.length + %22ft x %22 + this.width + %22ft, giving it an area of %22 + this.getArea() + %22sq.ft.%22 );%0A  %7D%0A%7D%0A

Add completed draft of 'RoomDimension' class for 'WardCarpetCalculator' program