//=================================================================================================
public class MiamiWind {
//-------------------------------------------------------------------------------------------------
    private int strength;
    private String direction;
//-------------------------------------------------------------------------------------------------
    public MiamiWind() {

        strength = 12;
        direction = "south east";
    }
//-------------------------------------------------------------------------------------------------
    public MiamiWind(int newStrength) {

        this();
        strength = newStrength;
    }
//-------------------------------------------------------------------------------------------------
    public MiamiWind(String newDirection) {

        this();
        direction = newDirection;
    }
//-------------------------------------------------------------------------------------------------
    public MiamiWind(int newStrength,String newDirection) {

        this(newStrength);
        direction = newDirection;
    }
//-------------------------------------------------------------------------------------------------
    public String toString() {

        return(String.format("%d knots from the %s",strength,direction));
    }
//-------------------------------------------------------------------------------------------------
}
//=================================================================================================
