File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes question from javacross simulation 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 "question from javacross simulation" Watch "question from javacross simulation" New topic

question from javacross simulation

Noel Hinders
Ranch Hand

Joined: Jan 13, 2001
Posts: 44
Hi all
the following question is taken from please tell me correct answer.
Q].Which of the following makes proper distinction between Collection and Collections in the java standard library
a].Collection is a class collections is a Interface
b].Collections is a class collection is a Interface
c].both Collection and Collections are classes
d].both Collection and Collections are Interfaces
Thanks in advance.
natarajan meghanathan
Ranch Hand

Joined: Feb 01, 2001
Posts: 130
Option b.
Collection is the basic interface and collections class provides some algorithms like sort, shuffle methods for the implementations of the Collection interface.

Sun Certified Programmer for Java 2 Platform
Noel Hinders
Ranch Hand

Joined: Jan 13, 2001
Posts: 44
Hi , can anyone explain what is Collection, collections.
Thank you.
wood burning stoves
subject: question from javacross simulation