aspas no 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\"";
Careful Cod