null 是空參照,表示一個物件的值,沒有分配記憶體,呼叫null 的字串的方法會丟擲空指標異常。例如如下程式碼:. String str = null; System.out.println( ...
確定! 回上一頁