Hi all the following question is taken from http://www.javacross.com 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.
Joined: Feb 01, 2001
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
Joined: Jan 13, 2001
Hi , can anyone explain what is Collection, collections. Thank you.