permaculture playing cards*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Q on Collections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Q on Collections" Watch "Q on Collections" New topic
Author

Q on Collections

Sumithab Baskaran
Ranch Hand

Joined: Oct 29, 2004
Posts: 52
I was going thro' the Dan Chisholm questions, and found 3 or 4 questions on: is (List/Set/Map) instanceof (Cloneable/Serializable/Iterator/ListIterator)??
I have not read any info of these before. Where can I read about these?
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Originally posted by Sumithab Baskaran:
I was going thro' the Dan Chisholm questions, and found 3 or 4 questions on: is (List/Set/Map) instanceof (Cloneable/Serializable/Iterator/ListIterator)??
I have not read any info of these before. Where can I read about these?


List API Spec
Map API Spec
Set API Spec
Collection API Spec
Cloneable API ApecSerializable API Spec
Iterator API Spec
ListIterator API Spec

Those API Spec pages should give you all you need to know about those interfaces.


SCJP Tipline, etc.
Sumithab Baskaran
Ranch Hand

Joined: Oct 29, 2004
Posts: 52
Thanks. I did take a look at those pages. Is it necessary to know which Collections implement which interfaces? I mean, do I need to know all of them?
There are quite a few of them.
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Originally posted by Sumithab Baskaran:
Thanks. I did take a look at those pages. Is it necessary to know which Collections implement which interfaces? I mean, do I need to know all of them?
There are quite a few of them.


I don't believe so. Certainly, you should know that List and Set extend Collection while Map does not, but I don't think it's essential that you know all of the various interfaces that are involved.

I would pay the most attention to things like Collection, Iterator, List, Map and Set. Knowing some of the more popular sub-interfaces, such as ArrayList, LinkedList, HashMap, HashSet, and Vector would be good, too. I wouldn't expect many questions on the exam that would require memorization of these interfaces/classes. If there are any, I imagine they'd be fairly basic and a decent understanding of the constructs, in general, should be enough to get you by.

Unless you're really shooting for a high score, I don't put a lot of stock in questions that require you to memorize the API Spec. I can't hardly remember the last time I programmed anything significant without the API spec handy for reference.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Q on Collections
 
Similar Threads
java.io
How much struts is needed for passing SCWCD
assertions....
Pre-assessment test from Oracle
Visual Wb JSF vs JSF