Java ObjectInputStream available() MethodThe available() method of ObjectInputStream class returns the number of bytes that can be read without blocking. SyntaxParameterNA ReturnsThe number of available bytes. ThrowsIOException Example 1Output: Hello 0 javaTpoint Example 2Output: Hello javaTpoint 0
Next TopicJava ObjectInputStream
|