aspose file tools*
The moose likes Beginning Java and the fly likes I want to print Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I want to print "test" with quotations("). " Watch "I want to print "test" with quotations("). " New topic
Author

I want to print "test" with quotations(").

raja bhai
Greenhorn

Joined: Jun 23, 2001
Posts: 3
I want to print "test" with quotations("). How can I do that?
Thanks in advance
Steven YaegerII
Ranch Hand

Joined: May 31, 2000
Posts: 182
I'm pretty sure below works, though it's been awhile since I've used any special charachers:
System.out.println(" \"test\" ");
 
Consider Paul's rocket mass heater.
 
subject: I want to print "test" with quotations(").