what is difference between colection and collections?
Answers were Sorted based on User's Feedback
Answer / nita dhumal
Yes all are said is right.
Collection is an interface which implented by all other interfaces. while collections is utility class which contain method like sorting method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / surya
Collection is an interface it provides implementations of
more specific subinterfaces like Set and List.
Collections class consists exclusively of static methods
that operate on or return collections.
| Is This Answer Correct ? | 2 Yes | 4 No |
Collection is root interface for List,Set,Map where as
Collection is utility class which has only static methods to
manipulate on object for eg sort
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / manoj
what is the difference between collection class vs
collections interface ? not as colection and collections
A collection (sometimes called a container) is an object
that groups multiple elements into a single unit.
Collections are used to store, retrieve and manipulate data,
and to transmit data from one method to another. Collections
typically represent data items that form a natural group,
like an order (a collection of order lines), a mail folder
(a collection of messages), or a telephone directory (a
collection of name/phone-number pairs).
| Is This Answer Correct ? | 9 Yes | 25 No |
Answer / sandeep tyagi
collection is a interface impplemented by all other
interfaces like List,set..where as collections is not a
class.But its a Framework.Harikrishna if u have any
confeusion then go thru with sun java tutorial
| Is This Answer Correct ? | 27 Yes | 116 No |
How do you remove an element from an arraylist in java?
what is difference between abstract factory and factory design patterns?
How do you convert string to int in java?
Justify your answer that you can't define a method inside another method in java, if you can then how?
How can you set an applet’s height and width as a percentage?
How to restrict a member of a class from inheriting by its sub classes?
what is the difference between HashMap And HashTable?
what is difference between front controller and action servlet?
What is return data type?
how to print the below in java?thanks in advance.... * * * * * * * *
whst is encapsulation?when u encpsulate actually while devoloping code?
What are the advantages of passing this into a method instead of the current class object itself?