what is collections in java?

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


Please Help Members By Posting Answers For Below Questions

Does java arraylist maintain insertion order?

557


What does n mean?

527


What is an interface in java? Explain

589


define the terminology association.

631


Explain the difference between abstraction and encapsulation.

545






Is arraylist zero based?

564


Is Java a dying language?

581


How big is a boolean?

589


Explain the purpose of garbage collection in Java?

584


Write a java program to generate fibonacci series ?

582


What is identifier with example?

590


what are the methods in object?

643


Is java a prime method?

557


What is instance synchronization?

562


What is anti pattern in programming?

507