Code: | ||
|
Sunday, 24 March 2019
Example of Java Deserialization .
Example of Java Serialization.
Description: |
In this example, we are going to serialize the object of Student class. The writeObject() method of ObjectOutputStream class provides the functionality to serialize the object. We are saving the state of the object in the file named f.txt. |
Code: | ||
?
|
Subscribe to:
Posts (Atom)