2015年12月21日
摘要: 偶然发现,字符串数组转换成字符串有点分歧。方法一:直接用数组转字符串方法效果如下1 char[] c1 = new char[]{'a','d','s'};2 return = Arrays.toString(c1);输出效果:[a, d, s]方法二:使用StringBuffer转换1 char[... 阅读全文
posted @ 2015-12-21 16:43 Goorwl 阅读(55344) 评论(0) 推荐(1) 编辑