what is difference between colection and collections?
Answer Posted / t.vijay nath
Collection is the root interface in collection
hierarchy,groups multiple elements into a single unit, it
allows duplicate & non-duplicate elements which may be
ordered or unordered.
Collections is a class which extends Object class & it
consists exclusively static methods .It is a member of Java
Collections Framework.Collections are used to store,
retrieve, manipulate, and communicate aggregate data
| Is This Answer Correct ? | 65 Yes | 11 No |
Post New Answer View All Answers
What are the drawbacks of singleton class?
How do you check if a string is lexicographically in java?
Describe the term diamond problem.
What is final int?
What is java abstraction with example?
What is the use of list in java?
What are different types of classloaders?
What is a parameter in matrices?
How to sort an unsorted array in java?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
What are the differences between graph and tree?
What are the differences between string, stringbuffer and stringbuilder?
What is java reflection api?
What do you mean by platform independence?
How does arraylist work in java?