public class CeilingFan extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
HIGH |
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() |
public static final int HIGH
public static final int MEDIUM
public static final int LOW
public CeilingFan(java.lang.String location)