public class Fan {

    // Fan.LOW and Fan.HIGH are used to represent the speed of the fan
  public static int LOW = 1;
  public static int HIGH = 2;

  private int speed = LOW;
  private double radius = 5;

    // Create a fan with low speed and radius 5
  public Fan() {
  }

    //  Create a fan with specified speed, radius
  public Fan( int speed, double radius)  {
      this.speed = speed;
      this.radius = radius;
  }

  public int getSpeed() {
    return speed;
  }

  public void setSpeed(int speed) {
    this.speed = speed;
  }

  public double getRadius() {
    return radius;
  }

  public void setRadius(double radius) {
    this.radius = radius;
  }

}
