previous | start

Answers

  1. You can save the entire object with a single writeObject call. With a RandomAccessFile, you have to save each field separately.
  2. Add implements Serializable to the class definition.


previous | start