May 16, 2007

Java Collection :When to Use Which

Filed under: Java — khangharoth @ 3:26 am

This is a presentation made by Divya and Devendra in fresher training at Eigen under me ,Our main aim in this presentation was to dig on Java Collection framework.

One of the thing that i found missing on almost all tutorials on net and in available book’s is some simple strategy to make a choice about which Data-Type to use.What i have seen is most of us only read about all these but in projects we just use one or two data structure say ArrayList ,even if we are adding and deleting the list often than search functionality.

I was just going through this and thought that it will be good idea if other can also view and give their inputs.The idea is to make this template some sort of guideline for choosing a particular data structure in Java.


This is basic flow diagram,go through the ppt and do comment on how to make it more Useful.

Note:Vector are missing in this ppt , should have been part of it.




  1. Just one month earlier i was searching job in Core java field and i have been interviewed by not less than 40 software companies, n this the question i have faced almost every time.
    I guess this is the first question from the collection framework, any company asks to a candidate who is having less than three years of experience in java. Its easy to differentiate between the different data-structures but its really difficult to know what to use when.
    I guess this PPT and this Diagram is very useful for any developer who has to use any data structure in his project and of-course for the people who are preparing for the interviews… [:)]

    Gr8 work Divya n Devendra(better known as Debu)..!!!

    Comment by Manish Kumar — September 20, 2007 @ 10:04 am | Reply

  2. Gr8 Work

    Comment by Manish Kumar — September 20, 2007 @ 10:10 am | Reply

  3. Great work. I was studying for SCJP and Collections questions were haunting me. This tutorial has really helped me. I think it’s the best one about optimum use of Collections.

    Comment by Ankit Garg — August 7, 2008 @ 4:38 am | Reply

  4. Thanks Ankit , hopefully it is useful to you.

    Comment by elope — August 18, 2008 @ 7:20 am | Reply

  5. hey,great work man.

    Comment by Krish — March 19, 2009 @ 7:12 pm | Reply

  6. Good work Divya n Devendra.Its very helpful to Java Developers.

    Comment by Jyoti Swamy — June 12, 2009 @ 3:35 pm | Reply

  7. vry useful information,which is difficult to find elsewhere

    Comment by prince — August 27, 2009 @ 7:22 am | Reply

  8. Very Nice Comparison

    Comment by Arunachala Shetty — October 14, 2009 @ 1:52 pm | Reply

  9. Great job!!!

    Thank u Divya and Devendra, its fentastic.

    Comment by Bharath — December 25, 2009 @ 4:43 pm | Reply

  10. dear friend,

    its really helpful to understand collection. You know i try a lot to learn Collection but find very difficult to understand.

    Can you provide more on collection and thread .

    i really looking good faculty for java, please help me if any body know +9717007659 please call me.

    Comment by yogesh kapil — December 30, 2009 @ 10:07 am | Reply

  11. Thanks TON of times for providing such a useful PPT.
    Its like, read once and remember forever

    Comment by AJ — March 1, 2010 @ 6:10 pm | Reply

  12. Excellent job keep it up

    Comment by Rani — March 25, 2010 @ 9:51 pm | Reply

  13. ya really nice one and very useful

    Comment by GS — June 21, 2010 @ 6:01 am | Reply

  14. Very nice PPT
    it will more help full, if LinkedHashMap also explained

    Comment by noble — August 26, 2010 @ 10:01 am | Reply

  15. It is very simple and precise explanation.
    Even I had faced the same question and failed to answer.
    Thanks a lot…

    Comment by bhadari — November 12, 2010 @ 6:41 am | Reply

  16. Great Work yaar!!

    Comment by aarif — June 20, 2011 @ 8:00 am | Reply

  17. Excellent job Divya and Devendra
    Thanks a lot

    Comment by Abhinav Jain — August 30, 2011 @ 7:17 pm | Reply

  18. not abl to open the ppt. Plz upload it once again.

    Comment by Mohini — October 17, 2011 @ 9:41 am | Reply

  19. Not only for experienced , useful for every class of java people both freshers and experienced

    Comment by Rajesh — December 14, 2011 @ 10:15 am | Reply

  20. Its very simple and easy to learn good work…………………..

    Comment by Ganesh Prabu — April 24, 2012 @ 5:41 pm | Reply

  21. thank a ton 🙂

    Comment by Preeti — November 28, 2012 @ 7:36 am | Reply

  22. Exactly what i am looking for

    Comment by rahul — December 22, 2012 @ 3:10 pm | Reply

  23. Does your site have a contact page? I’m having a tough time locating it but, I’d like to send you
    an e-mail. I’ve got some recommendations for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it grow over time.

    Comment by laptop repairs in hyderabad — May 21, 2013 @ 8:23 am | Reply

  24. Yesterday, while I was att work, my cousin stole my iPad and tested to see if itt can survive
    a thirty foot drop, just so she can bbe a youtube
    sensation. My apple ipad is now broken and she has 83 views.
    I know this is totally ooff tipic buut I had to
    share it with someone!

    Comment by flappybird free download — March 3, 2014 @ 9:51 am | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: