定义一个
接口类(interface)
然后变量
关键字public static final int ....;
例子(五子棋):
public interface Config1 {
public static final int ROWS=5;
public static final int COLUMNS=5;
public static final int X0 = 45;
public static final int Y0=27;
public static final int SIZE=90;
}