0
[SOLVED]How to output a sentence having quotation marks in it?
EDIT : THE PROBLEM IS SOLVED Is there a way out besides using double apostrophe?:)
1 Answer
+ 22
Use \" as the following example:
System.out.println("Alexander said, \"Hello world!\"");