|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCircle
public class Circle
Field Summary | |
---|---|
static double |
PI
Contains the value of pi to four decimal places. |
Method Summary | |
---|---|
static double |
area(double radius)
Calculates the area of a circle with the given radius. |
static double |
circum(double radius)
Calculates the circumference of a circle with the given radius. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double PI
Method Detail |
---|
public static double area(double radius)
radius
- Radius of the circle.
public static double circum(double radius)
radius
- Radius of the circle.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |