Integer 类中可以存放 字符串?、字符?以下三行运行结果分别是 8、56、8 为何?
Integer a = new Integer("8");
System.out.println(a);
Integer n = new Integer('8');
System.out.println(n);
Character m = new Character('8');
System.out.println(m);
Integer a = new Integer("8");
System.out.println(a);
Integer n = new Integer('8');
System.out.println(n);
Character m = new Character('8');
System.out.println(m);
2016-08-20
举报