java.lang.NullPointerException

 List<SpecialCredit> list = new ArrayList<SpecialCredit>();与 List<SpecialCredit> list = null;

为啥后者有时候运行时会报java.lang.NullPointerException

 

 

posted on 2011-12-02 17:31  sp2012  阅读(119)  评论(0编辑  收藏  举报