/**
 * Created by Nathan_Zeplowitz on 4/9/15.
 */
public class Rectangle {
    private int height = 1;
    private int width = 2;

    public int getArea(){
        return height * width;
    }
}

/**
 * Created by Nathan_Zeplowitz on 4/9/15.
 */
public class Rectangle {
    private double height = 1.0;
    private double width = 2.0;

    public double area(){
        return height * width;
    }
}

Refactor Rectangle to Use Doubles