public class AreaShape
extends java.lang.Object
| Constructor and Description |
|---|
AreaShape(java.lang.String shapeName) |
| Modifier and Type | Method and Description |
|---|---|
static AreaShape |
circle() |
boolean |
isCircle() |
boolean |
isPolygon() |
boolean |
isRectangle() |
static AreaShape |
polygon() |
static AreaShape |
rectangle() |