/**
 * Represents a box
 * @author Robert Cohen
 * @version 1.0
 */

public class Box {
  private int id;
  private int height;

  /**
   * Constructs a Box
   * @param id the id of the Box
   * @param height the height of the Box
   */
  public Box(int id, int height) {
    this.id = id;
    this.height = height;
  }

  /**
   * Returns the height of the box
   * @return the height of the box
   */
  public int height() {
    return height;
  }

  /**
  * Overrides the default method.
  * @return A string representation of the Box
  */
 public String toString() {
    return "Box " + id + ": " + height;
  }

}
