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

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

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