Answers for "java represent quotation marks"

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 "java represent quotation marks"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language