This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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.
I agree. Here's the link:
subject: question from javacross simulation
It's not a secret anymore!