public class CeilingFan extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HIGH |
(package private) java.lang.String |
location |
static int |
LOW |
static int |
MEDIUM |
static int |
OFF |
(package private) int |
speed |
| Constructor and Description |
|---|
CeilingFan(java.lang.String location) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSpeed() |
void |
high() |
void |
low() |
void |
medium() |
void |
off() |
public static final int HIGH
public static final int MEDIUM
public static final int LOW
public static final int OFF
java.lang.String location
int speed
public CeilingFan(java.lang.String location)