What is the difference between Collection and Collections ?
What is the difference between Collection and Collections ?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
{1}Collection is an interface of the Java Collection Framework. Most of the classes in Java Collection Framework inherit from this interface. List, Set and Queue are main sub interfaces of this interface.
{2}Collections is an utility class in java.util package. It consists of only static methods which are used to operate on objects of type Collection.