posted 23 years ago
Assignment requirement:
Use one HashMap object that contains no more than 28 objects.
I am a little confused on this one.
I believed that in a HashMap entry, a key is a separate object and its value is a seperate object. Hence one key/value pair ought to be considered as two objects. That way my HashMap contains more than 28 objects. But I didn't get a nit on this one
though. Am I missing something here.
Cheers
Jytsika