0 votes
in JAVA by

What is the difference between ArrayList and vector?

1 Answer

0 votes
by

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.

Related questions

0 votes
asked Oct 24, 2020 in JAVA by sharadyadav1986
0 votes
asked Mar 1, 2020 in C Plus Plus by SakshiSharma
...