public class Light extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
location |
Constructor and Description |
---|
Light(java.lang.String location) |
Modifier and Type | Method and Description |
---|---|
void |
off() |
void |
on() |