|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--TwoDThings
|
+--Circle
This class implements a Circle class.
| Fields inherited from class TwoDThings |
nObjects |
| Constructor Summary | |
Circle(int _radius)
Constructor. |
|
| Method Summary | |
int |
area()
Calculates the area of an square. |
| Methods inherited from class TwoDThings |
getType,
setType |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Circle(int _radius)
_radius - int _radius of the circle| Method Detail |
public int area()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||