isEmpty() method to check for an empty string in Java. To avoid NullPointerException if the string is null, a null check should precede the method call.
確定! 回上一頁