import org.opentutorials.iot.Elevator; import org.opentutorials.iot.Lighting; import org.opentutorials.iot.Security; public class OkJavaGoInHomeInput { public static void main(String[] args) { System.out.println("Country : "+args[1]); String id = args[0]; // Elevator call Elevator myElevator = new Elevator(id); myElevator.callForUp(1); // Security off Security mySecurity = new Security(id); mySecurity.off(); // Light on Lighting hallLamp = new Lighting(id+" / Hall Lamp"); hallLamp.on(); Lighting floorLamp = new Lighting(id+" / floorLamp"); floorLamp.on(); } }