其实isEmpty完全等同于string.length()==0 如果String本身是null,那么使用string.isEmpty()会报空指针异常(NullPointerException) 判断一个String为空的最安全的 ...
確定! 回上一頁