From e11727b471627512ea4f11f0336a9a62a5d519e5 Mon Sep 17 00:00:00 2001 From: kavyamuppalla <32040076+kavyamuppalla@users.noreply.github.com> Date: Tue, 1 Oct 2019 20:04:31 -0400 Subject: [PATCH] Rename rectAr to rectangleArea --- Calculator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }