(1)abstrac关键字类修饰的类是抽象类,用abstract修饰的方法是抽象方法: (2)含有抽象方法的类必须被定义为抽象类: (3)抽象类必须被继承,抽象方法必须被重写(或者将子类也声明为抽象类): (4)抽象类不能被实例化: (5)抽象方法只需声明,不需实现.如:public abstract void enjoy();//抽象方法 例如:JAVA笔记9中可以将Animal定义为抽象类(仅改变Animal的定义即可). public class TestAnimal{ public st…
I/O The original byte-oriented library was supplemented with char-oriented, Unicode-based I/O classes. It's rather important to understand the evolution of the I/O library. The File class "FilePath" would have been a better name for the class. I…