aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test3/InvokeArray.java
blob: fc2eb308af583ecd463b9aaa7aac08d1f1a2035a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package test3;

class InvokeArrayEle {
    String name;
}

public class InvokeArray {
    public int test() {
        return doit(new InvokeArrayEle[3]);
    }
    public int doit(InvokeArrayEle[] ae) {
        Object[] ae2 = (Object[])ae.clone();
        return ae2.length;
    }
}