jQuery in Action, 3rd edition
The moose likes I/O and Streams and the fly likes Character Stream ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Character Stream ?" Watch "Character Stream ?" New topic

Character Stream ?

veena bijur
Ranch Hand

Joined: May 16, 2011
Posts: 67
why does not it print character entered from keyboard ,when used PrintWriter instead of System.out.print()

if i use System.out.print() it displays,why not printWriter object?
meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305

You should flush buffer to make it empty.

My one regret in life is that I am not someone else.
- Woody Allen
I agree. Here's the link: http://aspose.com/file-tools
subject: Character Stream ?
It's not a secret anymore!