SyntaxFix
Write A Post
Hire A Developer
Questions
You can check with String == null
This works for me
String foo = null; if(foo == null){ System.out.println("String is null"); }