强行把一个Null的Integer赋给一个int变量 Leave a Comment / Java / April 11, 2011 April 11, 2011 What will happen? Integer a = null; int b = a; System.out.println(b); 答案:最后一行会报空指针异常