• Post Reply Bookmark Topic Watch Topic
  • New Topic

why no output from this code ?

 
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!