Why this is "not equal", still we are comparing same object and equal is not "==" , which compares object reference. I think it should "equal" but its not
Originally posted by vasukola vasukola: Why this is "not equal", still we are comparing same object and equal is not "==" , which compares object reference. I think it should "equal" but its not
Hi guys, if we have a look at equals() in the Object class we see:
that's why it prints "not equal"
Finner
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
Gift giving made easy with the permaculture playing cards