Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

do reply me --- collection

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

Please do help me

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
 
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic