diff --git a/Calculator.java b/Calculator.java index bc5c9f6..8469aff 100644 --- a/Calculator.java +++ b/Calculator.java @@ -141,7 +141,7 @@ public double cubeVol(double s) { * the radius * @return the volume of a sphere with radius r. */ - public double sphVol(double r) { + public double sphereVolume(double r) { return 2 * Math.PI * r; } }