JAVA COLLECTIONS
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   som_sAHI
Posted On:   Wednesday, October 20, 2004 05:30 AM

WHAT IS DIFFERENCE BETWEEN ARRAYLIST AND VECTOR OTHER THAN SYNCHRONISED AND UNSYNCHRONISED

Re: JAVA COLLECTIONS

Posted By:   Aditya_Athalye  
Posted On:   Monday, November 1, 2004 01:18 AM

One another difference of note is that serialization of Vector is default,while it is not the case of ArrayList.
i.e.:readObject and writeObject methods for Vector use default read and writeObject methods.
While ArrayList overrides the default serialization mechanism.
HTH

Aditya
About | Sitemap | Contact