• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Character Stream ?

 
veena bijur
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 305
Notepad Tomcat Server Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should flush buffer to make it empty.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic