Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Same common question what is Map,Set,HashMap,List????

Answer Posted / punit pannu

collection API:- Collection is a interface which contains three sub-interfaces list set and queue sub-interfaces.

1.List sub-interface: it contains three concrete classes
Arraylist
Vector and
Linkedlist

2. Set sub-interface:- it contains two classes
HashSet
LinkedHashSet

and one interface- SortedSet which contains one concrete
class - TreeSet


3. Map interface: it contains three concrete classes
HashMap
HashTable
LinkedHashMap

and one sub-interface

SortedMap

which contains one concrete class

TreeMap.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Convert a BST into a DLL and DLL to BST in place.

1156


In how many ways we can do synchronization in java?

1008


Why is stringbuffer faster than string?

960


define polymorphism in java

1141


Is treeset sorted in java?

1037


what is meant wrapper classes?

1293


What 4 doubled?

1025


Why destructor is not used in java?

1031


How do you implement polymorphism in our day to day life?

3284


What is the difference between stringbuffer and stringbuilder?

1106


Define a java class.

1529


What are the states of thread in java?

1033


What is the disadvantage of synchronization?

1057


What is parameter example?

1073


What are triggers in DB? Explain their types. How do they work?

1137