This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes collections are a bit confusing! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "collections are a bit confusing!" Watch "collections are a bit confusing!" New topic

collections are a bit confusing!

Jasper Vader
Ranch Hand

Joined: Jan 10, 2003
Posts: 284
if i have reference material close by, i can work out what type of Map, List, or Set implementation is apropriate for a situation, but just by memory it is quite hard! anyone else think so?

giddee up
Sarma Lolla
Ranch Hand

Joined: Oct 21, 2002
Posts: 203
Can you pass on the questions you are feeling difficult on collections? Some how Dan's questions are also not that difficult as they mostly deal with parent interfaces for some concrete collection class.
I didn't come across the scenarios where given some conditions and you are asked to select a suitable collection.
Thanks in advance,
boyet silverio
Ranch Hand

Joined: Aug 28, 2002
Posts: 173
hello Jasper,
Well you just have to keep on using it until it gets stamped in your mind. Others create memory aids to facilitate recall. Speaking of which, there was a thread in this forum where many contributed their memory aids. Don't really know if there was something for collections because the thread could not be opened from the list generated by google. Perhaps someone can provide the proper link to that.
Sarma Lolla
Ranch Hand

Joined: Oct 21, 2002
Posts: 203
May be this helps you a bit...
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Jasper, you can also read Thomas Paul's articles in the JavaRanch Newsletter

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Jasper Vader
Ranch Hand

Joined: Jan 10, 2003
Posts: 284
thanks everyone for the help!
there's a lot of good info written by Thomas Paul!
i just signed up for the javaranch newsletter, seems like a good idea!
i think it is ultimately a matter of using the collections in situations, which hopefully i will.
I agree. Here's the link:
subject: collections are a bit confusing!
Similar Threads
WA #1.....word association
Cant use object from another class
Posting to bump up my count...
Text box value is not being completely filled with request attribute
The x900 effect ?