
//̽ Ŭ  ޼ҵ
// -ġ , ġ 

public class Device {

    private int index;
    private String type;

    int locate=0;
    int number;

    public Device(){
        index = 0;
        type = "__";
    }

    void move(int result) {

        System.out.println("moved like "+result);
    }

    public int getIndex() {
        return locate;
    }

    public String getType() {
        return type;
    }


    void input(int yut){
        yut++;
        locate+=yut;
        move(yut);
    }


}

@@ -186,25 +186,24 @@
 %22__%22;%0A    %7D%0A
-%0A
     void mov

test 15.11.20