数组是否可以在java中保存其他数组?

时间:2016-02-21 08:25:58

标签: java arrays

数组是否可以在java中保存其他数组?

public class JavaPro {
    public static void main(String[] args) {
        char[] one = {'X', 'O', 'B'};
        char[] two = {'Y', 'R', 'T'};
        char[] three = {'R', 'F', 'Y'};

        char storeAllArray[] = {one, two, three};
    }
}

0 个答案:

没有答案