diff --git a/Calculator.java b/Calculator.java index bc5c9f6..eef6f46 100644 --- a/Calculator.java +++ b/Calculator.java @@ -84,7 +84,7 @@ public double hypot(double x, double y) { * the length of the other side. * @return the area of a rectangle with sides x and y. */ - public double rectAr(double x, double y) { + public double rectangleArea(double x, double y) { return 2 * x + 2 * y; }