SyntaxFix
Write A Post
Hire A Developer
Questions
Can be used as a shorthand in equality check.
So this code
if(ob != null && this.getClass() == ob.getClass) { }
can be written as
if(ob instanceOf ClassA) { }