When do I need to flush an output stream?
Question : When do I need to flush an output stream?
Invoke flush on a stream whenever you want the output to be sent to the other end of the output connection immediately.