Java ObjectInputStream close() MethodThe close() method of ObjectInputStream class closes the input stream. It must be called to release any resource associated with the stream. SyntaxParameterNA ReturnsNA ThrowsIOException Example 1Output: Hello javaTpoint Example 2Output: Hello javaTpoint 0
Next TopicJava ObjectInputStream
|