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

Is java hashset ordered?

575


How to check if a list is sorted in java?

586


How do you reverse a list?

550


Which collection is sorted in java?

542


When do we use hashset over treeset?

531






Do I need java for windows 10?

546


What are wrapped classes in java programming?

582


How many types of equations are there?

540


What are recursive functions?

571


What is string length in java?

488


Write a function for palindrome and factorial and explain?

654


What is object class in java?

501


What is the basic of java?

568


What is final?

603


What does || mean in vectors?

475