首頁 > 問答 > 主體
if (passengerList!=null&&passengerList.size()>0) {
} else {
}
怪我咯2017-04-18 10:15:53
當list==null時,執行list.size()>0系統報空指標異常。