抽象类和接口声明的引用,不能调用接口或抽象类中没有定义的方法
package arrays;public abstract class ListInterface {boolean isFull() {return false;}abstract void istrue();}
?
属性能够抽象到接口中吗? 因为接口是 public 的 。使用抽象类可以私有化属性让子类继承。