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 |
Which api is provided by java for operations on set of objects?
Under what circumstances an object reference be cast to an interface reference?
If you are given the name of the function at run time how will you invoke the function?
Define max and min heap, also the search time of heap.
how its run?
steps to connect with Oracle Databse using TYPE-2 Jdbc driver.
How do you check if a character in a string is a digit or letter?
What is difference between ++ I and I ++ in java?
What is hashing principle in java?
java program with complete 4 oops concepts implemented example
Explain the inheritance?
What are the types of exceptions?