jQuery in Action, 3rd edition
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes  use of flush() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark " use of flush()" Watch " use of flush()" New topic

use of flush()

Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634

what is the use of flush() in file handling ?
what is buffered output and stream ?

OCPJP 6.0 93%
OCPJWCD 5.0 98%
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 632

It Flushes this stream by writing any buffered output to the underlying stream. flush makes sure everything you have written so far is committed to the hard disk.

Life is easy because we write the source code.....
I agree. Here's the link: http://aspose.com/file-tools
subject: use of flush()
It's not a secret anymore!