| 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
|
 |
 |
|
|
subject: pratice question on collections from K&B mock exam book
|
|
|