@@ -0,0 +1,1127 @@
+%0A/**%0A * @author agaust%0A * @blog bloggersmart.net - python.web.id%0A */%0Apublic class Lampu implements IntLampu %7B%0A    private int statusLampu = 0;%0A    %0A    @Override%0A    public void hidupkan() %7B%0A        if(this.statusLampu == keadaanMati) %7B%0A            this.statusLampu = keadaanHidup;%0A            System.out.println(%22Lampu Hidup%22);%0A        %7D%0A        else %7B%0A            System.out.println(%22Lampu Sudah Hidup%22);%0A        %7D%0A    %7D%0A    @Override%0A    public void redupkan() %7B%0A        if(this.statusLampu == keadaanHidup) %7B%0A            this.statusLampu = keadaanRedup;%0A            System.out.println(%22Lampu Redup%22);%0A        %7D%0A        else if (this.statusLampu == keadaanMati) %7B%0A            this.statusLampu = keadaanRedup;%0A            System.out.println(%22Lampu Redup%22);%0A        %7D%0A        else %7B%0A            System.out.println(%22Lampu sudah Redup%22);%0A        %7D%0A    %7D%0A    @Override%0A    public void matikan() %7B%0A        if(this.statusLampu == keadaanHidup) %7B%0A            this.statusLampu = keadaanMati;%0A            System.out.println(%22Lampu Mati%22);%0A        %7D%0A        else %7B%0A            System.out.println(%22Lampu sudah Mati%22);%0A        %7D%0A    %7D%0A%7D%0A

Create Lampu.java