001package headfirst.command.remote;
002
003public class Light {
004        String location = "";
005
006        public Light(String location) {
007                this.location = location;
008        }
009
010        public void on() {
011                System.out.println(location + " light is on");
012        }
013
014        public void off() {
015                System.out.println(location + " light is off");
016        }
017}