quotation marks in string java

Solutions on MaxInterview for quotation marks in string java by the best coders in the world

showing results for - "quotation marks in string java"
Jean
03 Jan 2018
1System.out.println ("If you need to 'quote' in Java");
2System.out.println ("you can use single \' or double \" quote");
3
4\' = '
5\" = "
6  
7/* Example: */
8String name = "\"john\"";