Java ObjectInputStream readObjectOverride() MethodThe readObjectOverride() method of ObjectInputStream class is called by the trusted subclasses of ObjectOutputStream that constructed ObjectOutputStream using the protected no-arg constructor. It returns an object. SyntaxParameterNo parameter is passed. ReturnsThe Object read from the stream. ThrowsClassNotFoundException OptionalDataException IOException Example 1Output: null Example 2Output: null JavaTpoint
Next TopicJava ObjectInputStream
|