You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InvokeArray.java 282B

123456789101112131415
  1. package test3;
  2. class InvokeArrayEle {
  3. String name;
  4. }
  5. public class InvokeArray {
  6. public int test() {
  7. return doit(new InvokeArrayEle[3]);
  8. }
  9. public int doit(InvokeArrayEle[] ae) {
  10. Object[] ae2 = (Object[])ae.clone();
  11. return ae2.length;
  12. }
  13. }