is Vector synchronized? if, then how?
What about ArrayList?
Thank You!
A Vector synchronizes on all its getElement/get, setElement/set etc. methods.
The Vector class is quite old and has be retrofitted in the Collections framework
to conform to the List interface.
The synchronization is a bit useless and the ArrayList doesn't synchronize any-
thing at all (and is therefore a bit faster than a Vector as well).
Comment