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
Can we declare array without size in java?
What is the right data type to represent a price in java?
How do you use wildcards?
Describe what happens when an object is created in java ?
What is difference between next () and nextline () in java?
How does split work in java?
Difference between throw and throws?
What is lexicographically smallest string?
How do you do exponents in java?
what is the swingutilities.invokelater(runnable) method for? : Java thread
What is an image buffer?
Is there any limitation of using inheritance?
What is instance synchronization?
Is array size fixed in java?
what is the difference between the methods sleep() and wait()? : Java thread