I have read K&B book . In collection i have what is given in K&B like what the functions of interface and what implements what and what extends what.
But i want to know what are the questions are asked in collection in SCJ P?
like which are the methods
please do let me know --------------------
Regards, Karu
Naresh Gunda
Ranch Hand
Joined: Oct 15, 2005
Posts: 163
posted
0
In mock tests i observed that, questions from collections are about the functionality of each class and interfaces.
like 1) To identify the collection which is thread safe. 2) To identify the classes/interfaces which implements/extends collection interface. like that.
In JavaRanch forum you can search with keywords related to collections. Once if u read all the questions posted by the ranchers (most of the questions are from different mock tests) you will get an idea. [ December 23, 2005: Message edited by: Naresh Kumar ]
Niranjan Deshpande
Ranch Hand
Joined: Oct 16, 2005
Posts: 1277
posted
0
k&B book stuff on collection is enough to answer the 2-3 questions that u will get in the real exam.
make sure that you cram up the table related to the collections
this much is sufficient
SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ] Performance is a compulsion, not a option, if my existence is to be justified.
vipul patel
Ranch Hand
Joined: Oct 16, 2005
Posts: 146
posted
0
I think you only have to know situations when you should use 'right' collection type.
just remember the Collection and Map interface hirachy. what are the concrete classes etc.
and characteristics of each collection type. like,
Set: only unique element. one null is allowed. List: non-unique element. Map: Key-value pairs. all keys must be unique and non-null.
Now there can be sorted/unsorted, ordered/unordered implementations of above interfaces.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.