Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 32
    if obj == null, the second returns false, the first does not. ;) Commented Oct 19, 2010 at 19:07
  • 24
    @PeterLawrey, the first will throw a NullPointerException if obj == null. Commented Jan 9, 2014 at 22:40
  • Found some answer with samples from hrere : mytechnotes.biz/2012/07/… Commented Oct 19, 2015 at 9:08
  • 5
    To the readers: you are about to enter a deep, dark, black hole from which you will never escape. The differences are endless. Give up now while you still can: stackoverflow.com/q/496928/1599699 Commented Oct 17, 2017 at 12:26
  • @ParameshKorrakuti the domain name is changing to tshikatshikaaa.blogspot.com/2012/07/… Commented Feb 9, 2020 at 18:59