本帖最后由 vsop_479 于 2012-03-08 13:54:16 编辑

解决方案 »

  1.   

    你的AA的构造函数不是public的,要么改成public或者改成Constructor constructor = c.getDeclaredConstructor(int.class);
    getConstructor(int.class);只能获取public的构造方法。
      

  2.   


    噢,,解决了,,太感谢啦看到过getConstructor(int.class);只能获取public的构造方法。
    但是没在意