ObjectOutput is an interface extends the DataOutput interface to include writing of objects to a stream. DataOutput includes methods to write all primitive data types as objects to a stream.
ObjectOutput stream has the following methods :
IOException . So the calling method should handle the exception.
|