Answers for "quotation in string java"

1

quotation marks in string java

System.out.println ("If you need to 'quote' in Java");
System.out.println ("you can use single \' or double \" quote");

\' = '
\" = "
  
/* Example: */
String name = "\"john\"";
Posted by: Guest on June-04-2021

Code answers related to "quotation in string java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language