File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Character Stream ?" Watch "Character Stream ?" New topic
Author

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 ?
 
Similar Threads
empty vector cells
Read file
Funny output
problem in IO reader
Counting one character at a time from a file