char数组的println输出
package com.atczh1.java;
public class ArraysTest {
public static void main(String[] args) {
int[] arr=new int[] {1,2,3};
System.out.println(arr);
char[] arr1=new char[] {'a','b','c'};
System.out.println(arr1);
}
}
分别是int,c.
原创
2020-06-30 16:41:44 ·
1221 阅读 ·
0 评论