This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark " use of flush()" Watch " use of flush()" New topic
Author

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: 629

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()
 
Similar Threads
flush method
random behavior of flush()
The purpose of flush attribute in jsp:include
Public toilets
jsp:include doubt?