Re: answer these questions on collections
Posted By:
Karthik_Pushparaj
Posted On:
Thursday, March 11, 2004 11:03 PM
ArrayList is unsynchronized so data access is faster compared to Vector bcose its synchronized.
similarly the HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls.This class makes no guarantees as to the order of the map; in particular, it does not guarantee that the order will remain constant over time.
with this differences given u should decide in development based on requirement.
reg sessoin tracking i am not getting u r question
hope it helps