isEmpty() method. From Java 7 onward, the recommended approach is to use the String.isEmpty() method to check for an empty string in Java.
確定! 回上一頁