https://www.cnblogs.com/aspirant/p/9193112.htmlJava中String直接赋字符串和new String的区别 如String str=new String("a")和String str = "a"有什么区别