aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes pratice question on collections from K&B mock exam book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "pratice question on collections from K&B mock exam book" Watch "pratice question on collections from K&B mock exam book" New topic
Author

pratice question on collections from K&B mock exam book

Don Redd
Ranch Hand

Joined: Jan 05, 2012
Posts: 82

Hi
Can some please clarify me what below question is asking?

Part two of Question 6a:
Write a class that creates a collection in which a given instance of Items
can be retrieved using a different associated String called "buyer".


Regards,
Don..
Enkita mody
Ranch Hand

Joined: Aug 06, 2012
Posts: 333

You should show little more energy to copy-paste entire question,i didn't find it sufficient.


OCA7
Pritish Chakraborty
Ranch Hand

Joined: Jun 12, 2012
Posts: 91

The question is asking you to make a class which defines some collection (which collection is to be used, I am leaving to you), such that an object of Items class is mapped to different String IDs, the variable identifier of which is 'buyer'.


OCJP 6
Don Redd
Ranch Hand

Joined: Jan 05, 2012
Posts: 82

thanks Pritish, I thought "buyer" is associated with identifier string not the name of Collection(map
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pratice question on collections from K&B mock exam book