Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java string equals null

String str = new String("");
if(str == null && str.isEmpty()) {
	//do whatever
}
 
PREVIOUS NEXT
Tagged: #java #string #equals #null
ADD COMMENT
Topic
Name
2+5 =