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
What is a flag variable?
What does indexof mean?
What is main difference between variable and constant?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
What is the default value of an object reference declared as an instance variable?
What is void in java?
Explain some best practices you would apply while using collection in java?
What is contract between hashcode and equal method?
Are arrays primitive data types?
Can we use return in constructor?
What do you mean by checked exceptions?
How does system arraycopy work in java?
Define a package.
which class is the wait() method defined in? : Java thread
Explain when classnotfoundexception will be raised ?