1.abstract 修饰的类:不能实例化对象,但可以声明引用
2.abstract修饰的方法:只能定义在abstract修饰类或interface接口内
只有方法声明,没有方法实现即没有方法体
非abstract修饰类继承abstract修饰类或者遵从interface接口,必须
实现所有abstract修饰方法
1.abstract 修饰的类:不能实例化对象,但可以声明引用
2.abstract修饰的方法:只能定义在abstract修饰类或interface接口内
只有方法声明,没有方法实现即没有方法体
非abstract修饰类继承abstract修饰类或者遵从interface接口,必须
实现所有abstract修饰方法