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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
subject: Character Stream ?
Similar Threads
Counting one character at a time from a file
empty vector cells
Funny output
problem in IO reader
Read file