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