Differentiate between Vector and Array List.

devquora
devquora

Posted On: Dec 24, 2020

 

Array ListVector
It is not synchronized.It is synchronized.
It is fast since it is non-synchronized.It is slow since it is threaded safe.
It does not define the increase in size.Vector defines the increase in size.
It can only use Iterator for traversing an Array List.Vector utilizes both classes such as Enumeration and Iterator, except Hashtable.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions