3 ms·
Yes, "foo".equals(bar) is useful in Java if bar can be null, but that's a different thing.
by paol 10y ago
Yes, "foo".equals(bar) is useful in Java if bar can be null, but that's a different thing.
- brianwawok 10y agoNot really different. In fact is is mentioned on the Wikipedia page.