A
AndrewMcDonagh
Bhanu said:"null" is not an object of any class null implies that it does not
refers to any object. So u can not do obj.eqals(null) for any object.
U need to pass as an object as the argument.
in this case you can, as the String.equals() method will return false if
passed a null.