📜  字符串中的引号java代码示例

📅  最后修改于: 2022-03-11 14:52:03.350000             🧑  作者: Mango

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

\' = '
\" = "
  
/* Example: */
String name = "\"john\"";