/**
 * 电灯类
 */
public class Light {
    /**
     * 开电灯
     */
    public void on(){
        System.out.println("light on!");
    }

    /**
     * 关电灯
     */
    public void off(){
        System.out.println("light off!");
    }
}
