String s = new String("a") + new String("b")不同jdk下的表现
测试环境:Liberia OpenJDK 1.8 11 17偶然知乎刷到一个面试题的讨论https://www.zhihu.com/question/50211894/answer/2395077963这里说String s = new String("a") + new Str
测试环境:Liberia OpenJDK 1.8 11 17偶然知乎刷到一个面试题的讨论https://www.zhihu.com/question/50211894/answer/2395077963这里说String s = new String("a") + new Str