toString(); i = null; String nullString = i.toString(); // NPE So, make sure you do a null check before calling the toString() method on the Integer object.
確定! 回上一頁