Back to Browse

ObjectOutputStream, ObjectInputStream demonstrated in Java

1.3K views
May 14, 2023
11:11

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.

Download

0 formats

No download links available.

ObjectOutputStream, ObjectInputStream demonstrated in Java | NatokHD