本帖最后由 侯凯斌 于 2013-2-18 11:50 编辑
- String[] str1=new String[]{
- new String("Zhangsan"),
- new String("Lisi"),
- new String("Wangwu") };
-
- String[] str2={
- new String("Zhangsan"),
- new String("Lisi"),
- new String("Wangwu") };
-
- String[] str3={
- "Zhangsan",
- "Lisi",
- "Wangwu" };
复制代码 请问:str1, str2, str3 三者的区别是? |