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 |
What are the similarities between an array and an ArrayList?
Explain wait(), notify() and notifyall() methods of object class ?
What do you mean by collectors in java 8?
What are format specifiers in java?
What do negative exponents mean?
How are this() and super() used with constructors in java programming?
what is difference between interface and abstract class..?
different types of threads?
How can we create a thread in java?
What is the constructor?
What do you understand by casting in java language?
How are Java source code files named?