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?:)

28th Mar 2017, 4:58 PM
Alex Snaidars
Alex Snaidars - avatar
1 Respuesta
+ 22
Use \" as the following example: System.out.println("Alexander said, \"Hello world!\"");
28th Mar 2017, 5:02 PM
Shamima Yasmin
Shamima Yasmin - avatar