Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

why no output from this code ?  RSS feed

 
lily zou
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have following three line code, is there any one who could kindly tell me why no out put at all?
String a = "this \"is\" test";
PrintWriter out = new PrintWriter(System.out);
out.println(a);
thanks in advance,
Lily
 
lily zou
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the reason. Thanks.
Lily
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!