SyntaxFix
Write A Post
Hire A Developer
Questions
In the latter case, if obj is null you won't get a NullPointerException but a false.