This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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

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.
Don't get me started about those stupid light bulbs.
subject: question from javacross simulation