Post a Job  |   Ask a Question?   |   Already registered? login or register
Pradyumna Das
30/04/2016 05:12 PM

Collection Question


Today I faced this question can any one tell me the answer: Q.Hashset internally used datastructure which is Hashtable where hashset represent in single value and hashtable represent in key-value pair.,How it is possible to represent a single value of hashset into key-value pair of Hashtable used as datastructure.
Spam    3 Comments

Ranjan,Kumar
01/05/2016 14:19:13
Hi Pradyumna Das, please learn above tutorial and understand..

Ranjan,Kumar
01/05/2016 14:19:55

Mithilesh,Kushwaha
05/05/2016 12:03:20
HashSet underlying data structure is hashtable. Internally jvm insert hascode as a key by creating the object of your value.

Languages :
xml