//- getArea(): calculate outter surface area of the cylinder(should NOT have redundant code with the superclass) public override double getArea() { return(Hight * 2 * (Surface.getArea() / Surface.Radius) + 2 * Surface.getArea()); }
new public double getArea() { return(c.getArea() * 2 + (_height * c.radius * 2 * Math.PI)); }
public double getArea() { return((2 * 3.14159265358979 * _circle.Radius * _height) + (2 * _circle.getArea())); }
public override double getArea() { return((2 * Math.PI * _circle.Radius * Height) + (2 * _circle.getArea())); }