DEV Community

Cover image for java check if the string is empty.

java check if the string is empty.

jacob777baltimore on November 26, 2020

Java program to check if a string is empty or null: In the above program, we check that the isEmpty() method will only check whether the...
Collapse
 
nyorja profile image
Rod Fetalvero

IMHO I will use StringUtils by Apache Commons