3 ms·
I love Java's behaviour. It gives a few false positives as you've noticed, but you can fix that just by doing Object a = null; and go on your way. You do
by anon4 11y ago
I love Java's behaviour. It gives a few false positives as you've noticed, but you can fix that just by doing
Object a = null;
and go on your way. You do run the risk of a null pointer exception if you don't assign it a valid object reference, though.