Working with ObjectOutputStream class and ObjectInputStream Classes When ever the object values need to be stored with in a file then ObjectOutputStream class is used.When ever the object values need to be retrieved from a file then ObjectInputStream
class is used.
When ever the object values need to be stored with in a file or need to be retrieved from a file then class corresponding to that object must implement the interface Serializable.
↧