3 ms·
Ahh... The good 'ol technique for avoiding NPEs in Java.
by tasubotadas 7y ago
Ahh... The good 'ol technique for avoiding NPEs in Java.
- neatcoder 7y agoFor those who are wondering what this refers to, it is writing code like this: "foo".equals(myVar) instead of writing: myVar.equals("foo") which could can cause NullPointerException if myVar is null.