本節主要介紹Java 空物件是什麼及如何判斷物件是否為空。 ... 判斷物件是否為null if (str1 != null) { int len = str1.length(); }
確定! 回上一頁