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
Is a method a procedure?
What are adapter classes?
Explain the key functions of data binding?
How to calculate the length of a singly linked list in java?
Can static methods access instance variables in java?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
What does java ide mean?
Difference between stack and queue?
What is fundamental datatype?
What is meant by anonymous class?
What is the preferred size of a component in java programming?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
How do you define a singleton class?
What is a stack class in java ?
Why we go for collections in java?