aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes  use of flush() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: use of flush()
 
Similar Threads
Public toilets
flush method
jsp:include doubt?
The purpose of flush attribute in jsp:include
random behavior of flush()