转义字符的使用

例如转义引号可以这样:String str = " \" ";

System.out.println(str); 输出结果为 “

即 \"  就转义成了字符串的引号

猜你喜欢

转载自1960370817.iteye.com/blog/2326265