Integer t = new Integer(int);

解决方案 »

  1.   

    我晕,说了不是这一种了,不是把int转化为Integer这种!!!!!!!!!!!我要的是Class c = int转化出来的class
           c.getName()应该是等于“int”的
      

  2.   

    int i = 0;
    Class c = new Integer(i).getClass();
      

  3.   

    我再声明一次Integer不是我想要的,帮忙up一起学习的话我很欢迎。但是不懂的话请不要乱说话,谢谢合作。
      

  4.   

    public class test{ 
        public static void main(String[] args) throws Exception{   
    Class cls = int.class;
    System.out.println(cls.getName());    } 
    }