• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Memorizing the Collections

 
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone have any suggestions to help remember the Java 2 Collections for use on the SCJP exam?
I am having a hard time memorizing all the different attributes (eg allows duplicates, requires order, etc.).
I don't have a lot of experience with these...
What is the minimal amount of info I need to know for the test?
Thanks!
Drew
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Concentrate on memorizing the interfaces - the names make a certain amount of sense.
Bill
 
Drew Lane
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, but I was really hoping someone would have a mnemonic or something that helped them remember the Collections.
If I know the basics of Collection, List, Map, and Set is that enough for the exam?
BTW, has anyone seen a coding question on the exam about Collections or has it all been qalitative type questions?
Thanks!
Drew
 
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I didn't go overboard on studying. I memorized all the interfaces and how they are distinct. I didn't get many questions on collections, maybe one or two.
-Sean
 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi drew
for collections,
the basic structure is
set list map
sorted set vector arraylist linked list sorted map

now the words sorted - tree go together
sorted set has treeset
sorted map has treemap
and others are hashset hashtable and hashmap which are easy to remember
vector and hashtable are threadsafe
null is not allowed in hashtable only
i think it is very easy to remember collections
hope this helps

------------------
sona nagee
SCJP
 
reply
    Bookmark Topic Watch Topic
  • New Topic