What is the difference between ArrayList and vector?
An ArrayList is not suitable for working in a thread based environment. A vector is built for thread-based executions. ArrayList does not support legacy functions whereas a vector has support for legacy functions.
🔗Reference: stackoverflow.com
🔗Source: Java Interview Questions and Answers