在Java 中檢查一個給定的字串是否為空的最簡單方法是使用 String 類的內建方法- ... isEmpty()) System.out.println("str1 is an empty string"); ...
確定! 回上一頁