I followed your instruction. printing null==null does in fact return a Boolean true. Then why does throw null pointer exception? Or is it simply the act of passing a null to the method that spoils the show?