Tagged: flush

do we need to call flush()? can’t we just call close()?


You can find your own answer from following links.

flush() will never hurt anyone and it has its own purposes.
DON’T YOU EVER SAY THAT close() WILL DO flush() FOR YOU!

Advertisements