null // 可以設置为空val l = a!!.toDouble() println(l) // error: // Exception in thread "main" java.lang.NullPointerException }. 這時我們會需要做空安全的檢查 ...
確定! 回上一頁