interface AA { // 常量:只能是常量,所有的常量都是用public static final修饰的 int I = 12; // public static final public static final boolean FLAG = false; // 抽象方法:所有的都用public abstract void method1(); public abstract void method2(); } class CC implements AA {
@Override public void method1() { // TODO Auto-generated method stub }
@Override public void method2() { // TODO Auto-generated method stub } }