Method flush | Improve this Doc View Source flush() plflush: Flushes the output stream Declaration public void flush() Remarks Flushes the output stream. Use sparingly, if at all.