Рет қаралды 711
A demonstration and simple example of saving Java objects natively to a file on disk, by using ObjectOutputStream/FileOutputStream and ObjectInputStream/FileInputStream. I also describe the use and need for java.io.Serializable, a marker interface. Once I finish writing the code, I demonstrate the program in a debugger.