001package headfirst.command.remote;
002
003public class GarageDoor {
004        String location;
005
006        public GarageDoor(String location) {
007                this.location = location;
008        }
009
010        public void up() {
011                System.out.println(location + " garage Door is Up");
012        }
013
014        public void down() {
015                System.out.println(location + " garage Door is Down");
016        }
017
018        public void stop() {
019                System.out.println(location + " garage Door is Stopped");
020        }
021
022        public void lightOn() {
023                System.out.println(location + " garage light is on");
024        }
025
026        public void lightOff() {
027                System.out.println(location + " garage light is off");
028        }
029}