用objectstream 流读写文件。存到Student 数组里。
思路:1.首先javabean要进行序列化;2.使用ObjectOutputStream写文件;3.使用ObjectInputStream读文件。