Use isEmpty () method available Java 6 onward to check if the String is empty. ... if it's nullable, then you need to first validate it's not null then ...
確定! 回上一頁