GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — java1/Programming/OkJavaGoInHome.java at master · hwarang98/java1 Expand file tree/ Copy pathOkJavaGoInHome.javaMore file actions 28 lines (19 loc) · 573 Bytes / Copy pathOkJavaGoInHome.javaFile metadata and controls28 lines (19 loc) · 573 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 import org.opentutorials.iot.Elevator; import org.opentutorials.iot.Lighting; import org.opentutorials.iot.Security; public class OkJavaGoInHome { public static void main(String[] args) { String id = "JAVA APT 507"; // 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(); } } |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |