source :
http://enigma.vm.bytemark.co.uk/Inquisition-0.14/inquisition.jnlp
thats a free mock exam software, thanks to the author, its good..
question goes like this :
given object(s) a and b of the same class, and if equals() and hashcode() are implemented correctly for that class, fill in the blanks to indicate which statements are
1. can be true for some implementations, but not for others,
2. are always true,
3. and are never true
given that... a == b then, a.equals(b) ________________
given that... a != b then, a.equals(b) ________________
given that... a.equals(b) then, a == b ________________
given that... !a.equals(b) then, a == b ________________
_____________________________________________
fill blanks with
"is never true" or
"can be true" or
"is always true"
could someone solve this with a good explanation for me please??