The task is to store different objects of classes in a physically located file on hard disk. For this to store objects and their states (including the values of their data members) we have to make those classes serializeable. Use Standard Java I/O streams FileOutputStream, ObjectOutputStream to write/store to file and FileInputStream, ObjectInputStream streams to …
Tag Archive: java io streams
Permanent link to this article: http://www.javaplex.com/blog/java-object-serialization-by-using-java-io-streams/