quotes in a java string

h‮/:sptt‬/www.lautturi.com
quotes in a java string

use backslash escape character

public static void main(String args[]) {

		String str1 = "\"hello\"";
		
		String str2 = "quotes \" with\r\n" + 
				"multiline \"";
	}
Created Time:2017-09-27 22:06:24  Author:lautturi