-
What is the use of Flushable interface?
-
- Flushes this stream and starts reading again
- Flushes this stream by writing any buffered output to the underlying stream
- Flushes this stream and throws FlushException
- Flushes this connection and closes it
- None of these
Correct Option: B
Flushable interface provides flush() method which Flushes this stream by writing any buffered output to the underlying stream.