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

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

posted @ 2011-01-05 18:56  程序员面试助手  阅读(528)  评论(0)    收藏  举报