Java Serialization Example

After knowing what is serialization and the classes available supporting serialization, let us write a program where a Student object is serialized, Student objects are written to a file and later read from the file. In this program, usage of access modifier "transient keyword" is illustrated (observe, the string address variable in the next program). …

Java Serialization Example Read More »