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 are the types of casting?
What does the “final” keyword mean in front of a variable? A method? A class?
What is the difference between normal report & matrix report?
Why is multiple inheritance not supported in java?
What is a generic code?
Can you instantiate the math class in Java?
What is java reflection?
When arithmeticexception is thrown?
How to add menushortcut to menu item?
Explain the importance of import keyword in java?
What are the ways to instantiate the class class?
How will you serialize a singleton class without violating singleton pattern?
What is composition in java?
Define class?
What are the advantages of java over cpp?