菜小徐 发表于 2014-4-14 19:02 如果想去掉空格可以在toString()后面加一个trim() 例:Arrays.toString(arr).trim();
你为谁归来 发表于 2014-4-14 19:13 不好意思,测试过,不行,还是有空格。
Linuxgg 发表于 2014-4-15 00:04 查了源码: