Posted On: Dec 24, 2020
Array List | Vector |
---|---|
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. |
Never Miss an Articles from us.