File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
use of flush()
Mohit G Gupta
Joined: May 18, 2010
Jun 24, 2010 21:35:49
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
Joined: Jul 15, 2008
Jun 24, 2010 21:43:37
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:
subject: use of flush()
random behavior of flush()
The purpose of flush attribute in jsp:include
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014