What is the use of Flushable interface?
(a) Flushes this stream by writing any buffered output to the underlying stream
(b) Flushes this stream and starts reading again
(c) Flushes this connection and closes it
(d) Flushes this stream and throws FlushException
I got this question during an online exam.
I want to ask this question from AutoCloseable, Closeable and Flushable Interfaces topic in portion Session Management, JSP & API of Java