File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Do we need to study Collection Algorithms? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Do we need to study Collection Algorithms?" Watch "Do we need to study Collection Algorithms?" New topic
Author

Do we need to study Collection Algorithms?

Pal Sudarshan
Ranch Hand

Joined: Jun 10, 2004
Posts: 52
Howdy,

Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
It would behoove you to understand the differences between the major Collection classes, but it is not essential to understand the underlying implementation of said classes. For example, it would be good to understand the difference between an ArrayList and a LinkedList, but you need not worry about how an ArrayList is implemented as compared to a LinkedList.

Honestly, I would say it is more important to understand the major interfaces that these classes implement, such as List, Set, and Map.


SCJP Tipline, etc.
Chandra Vadlamani
Ranch Hand

Joined: Feb 15, 2003
Posts: 31
When you get the score card after the test, one of the section against which % rating given is "Collections", If you have K&B read the chapter thorough you are sure to clear 75% if not less.


Cheers<br /> <br />What's with the bottom line.<br />_ _ ____________________ _ _<br />SCJP 1.4, SCBCD 1.3, Prepping for SCEA.....
Chandra Vadlamani
Ranch Hand

Joined: Feb 15, 2003
Posts: 31
When you get the score card after the test, one of the section against which % rating given is "Collections", If you have K&B read the chapter thorough you are sure to clear 75% if not less. This is my exam experience, ofcourse i scored 100% in collections
Sania Marsh
Ranch Hand

Joined: Jul 12, 2004
Posts: 469
I agree with Corey
make sure you don't confuse interfaces and the classes when answering question. It may seem very easy, but under stress you may choose Map when question is asking "Which class ..."
understand hashcode() and equals() very very very well. Know which collection to use when, iterators and enumerations. Know which collections are ordered, which are sorted, etc. I think it will help not to get confused if you know how ech collection is built (linked, hashed, tree, etc.)
I don't think you need to know any algorithms (other than how hashing works and that tree means sorted), didn't see questions on algorithms in book or mock exams.
I read K&B only, and got 100% on collections.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do we need to study Collection Algorithms?