数据默认 public static final (由于是常量,声明时就要赋值
方法默认 public abstract
如果非抽象类继承了 这个接口 就必须重写里面所有的方法而且都要加public,使用常量是直接 用a,如果类中用同名 那就A.a
而抽象类可以不重写所有的抽象方法