diff --git a/Maths/Area.java b/Maths/Area.java index c721a304887c..4a8acca575b7 100644 --- a/Maths/Area.java +++ b/Maths/Area.java @@ -74,10 +74,11 @@ private static double surfaceAreaRectangle(double length, double width) { } /** - * Calculate surface of a cylinder + * Calculate surface area of a cylinder * * @param radius radius of the floor * @param height height of the cylinder. + * @return volume of given cylinder */ private static double surfaceAreaCylinder(double radius, double height) { return 2 * (Math.PI * radius * radius + Math.PI * radius * height);