• 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

Appropriate usage of collections

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,

I am preparing for SCJP 1.5 exam.

I am kind of feeling difficult in understanding appropriate usage of collections based on scenarios. Not only for exams, but during application development also I would like to know the same. Also, what is the advantages/disadvantages of each of them.

Could you guys please help me out with this with any pointer or information?

Thanks a lot for your help !!

Regards,
Neo

(edited topic title: no need to shout)
[ February 22, 2007: Message edited by: Barry Gaunt ]
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are four good articles about the Java Collections (non Generic) framework in our JavaRanch Journal starting here.

They also give a good idea on the choice of the right collection for the job.
 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suggest you memorize the collections hierarchy, Although it is hard it is worth it.
 
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Topics covered in Collections in scjp 1.4 are easy. We just need to read it 3-4 times thoroughly.
 
Ranch Hand
Posts: 358
Firefox Browser Redhat Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Neo Phesus:
Hi folks,

I am preparing for SCJP 1.5 exam.

I am kind of feeling difficult in understanding appropriate usage of collections based on scenarios. Not only for exams, but during application development also I would like to know the same. Also, what is the advantages/disadvantages of each of them.

Could you guys please help me out with this with any pointer or information?

Thanks a lot for your help !!

Regards,
Neo

(edited topic title: no need to shout)

[ February 22, 2007: Message edited by: Barry Gaunt ]



Thers one solution to your problem.. Please read the Chapter 7 from the book SCJP Exam Study Guide by Kathy & Sierra. Thats an excellent chapter regarding collections. it will teach you what they are, how they work and why they should be used. you will also get the reasons behind appropriate applications of collections for various scenarios. Highly recommended!
 
Neo Phesus
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you folks...It was very much useful.
reply
    Bookmark Topic Watch Topic
  • New Topic