Package se.umu.cs.aj.figure
Class Circle
- java.lang.Object
-
- se.umu.cs.aj.figure.Figure
-
- se.umu.cs.aj.figure.Circle
-
public class Circle extends Figure
Class representing a circle.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setRadius(int radius)
double
surface()
Abstract class that should return the surface of a figure.java.lang.String
toString()
-
Methods inherited from class se.umu.cs.aj.figure.Figure
surfaceString
-
-
-
-
Method Detail
-
surface
public double surface()
Description copied from class:Figure
Abstract class that should return the surface of a figure.
-
setRadius
public void setRadius(int radius)
-
-