Circle class update. (#5648)

This commit is contained in:
cdjole 2018-11-09 19:25:50 +01:00 committed by maibin
parent 1f8acbde98
commit 2d872af165
1 changed files with 0 additions and 4 deletions

View File

@ -16,10 +16,6 @@ public class Circle {
this.radius = radius;
}
public double getArea() {
return calculateArea();
}
private double calculateArea() {
return radius * radius * Math.PI;
}