Serialization process constantly overwrites itself?

I’m fairly new to java and trying to do some serialization in my project. I have a bunch of objects called Student and I would like to serialize them. The code I’m using for this is as follows: try{ …