Answers for "how to use quotation marks in 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 "how to use quotation marks in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language