Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NaturalLanguageMultiply

 
Manju Jain
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Johannes de Jong
tumbleweed
Bartender
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a bad counter nitpick youself Jytsika .
But they do mean "key + value" combination.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic