Does close() implicitly flush() the stream.
A. True
B. False
This question was posed to me during an interview.
I need to ask this question from AutoCloseable, Closeable and Flushable Interfaces in portion Session Management, JSP & API of Java
The correct answer is A. True
For explanation I would say: close() closes the stream but it flushes it first.