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 0 an even number?
When should you make a function static?
a thread is runnable, how does that work? : Java thread
What are different types of multitasking?
How would you use Bubble Sort to sort the number of elements?
How can you generate random numbers in java?
Is array dynamic in java?
What is the final method?
What is a priority queue java?
what methods would you overwrite in java.lang.object class?
Differences between traditional programming language and object oriented programming language?
How to display arraylist values in java?
What is the difference between preemptive scheduling and time slicing in java programming?
What is fail first in java?
What is difference between length and length() method in java ?