String s = new String("xyz");创建了几个String Object?

答:两个对象,一个是“xyx”,一个是指向“xyx”的引用对像s。

原文地址:https://www.cnblogs.com/mianshi/p/1926636.html