Ankit Garg wrote:for %b, if the value is boolean value false or null, then the output is false otherwise its true...
Stephan van Hulst wrote:Have you read the Oracle tutorials? If you haven't, you probably will be familiar with a lot of it, but it can't harm to go over the topics which you don't fully understand again. These lessons are very clear:
http://download.oracle.com/javase/tutorial/
Harikrishna Gorrepati wrote:Hi Ankit, choice "A" [If !a.equals(b) then a.hashCode()!=b.hashCode() ]also should be correct know as per statement based on Last row in K& B book chapter 7 Page#554 [x.hashCode()! = y.hashCode() then x.equals(y) == false)]