CircleCell (Lab1)
Class CircleCell
java.lang.Object
|
+--Cell
|
+--CircleCell
- public class CircleCell
- extends Cell
A CircleCell.
- Version:
- 1.0 (2002)
- Author:
- CPwJ
|
Constructor Summary |
CircleCell(double x,
double y,
double r)
CircleCell constructor |
|
Method Summary |
double |
area()
Calculate the area of a Circle shape Cell |
CircleCell
public CircleCell(double x,
double y,
double r)
- CircleCell constructor
- Parameters:
x - Cell X coordinatey - Cell Y coordinater - Cell Radius
area
public double area()
- Calculate the area of a Circle shape Cell
- Specified by:
area in class Cell
- Returns:
- the area of the Circle Cell
Generated by BlueJ