There is a CustomClass C with a String variable - abc. You override .equals() to return false and .hashcode() to return abc's hashcode. Now you make 2 objects of C and add to hashmap. How many entries will the HashMap have ?
Check out your Company Bowl for anonymous work chats.