Answer Posted / somasundar m
Collection is a frame work which is there in java.lang
package, which is used to store multiple type objects.
Collections has certain interfaces like Collection, Set,
List, Map, sorterdSet, sortedMap and certain classes like
HashSet, TreeSet,ArrayList, Linked List, Vectors,
Hashmap,Hashtable, Properties, etc. Based on the
requirements the appropriate collections should be used.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is ++ operator thread-safe in java?
Why local variables are stored in stack?
Why do we create public static method in java?
What is meant by anonymous class?
How does a for loop work java?
What happens if we don’t define serial version uid?
What is use of super keyword?
How does arrays sort work in java?
When can an object reference be cast to an interface reference in java programming?
What is run time allocation?
How do you use find and replace?
What is size () in java?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
Explain creating threads by implementing runnable class?
What are the two parts of a conditional statement?