List<SpecialCredit> list = new ArrayList<SpecialCredit>();与 List<SpecialCredit> list = null;
为啥后者有时候运行时会报java.lang.NullPointerException
List<SpecialCredit> list = new ArrayList<SpecialCredit>();与 List<SpecialCredit> list = null;
为啥后者有时候运行时会报java.lang.NullPointerException
转载于:https://www.cnblogs.com/sp2012/archive/2011/12/02/2465701.html