0 votes
in JAVA by
What is a vector in Java

1 Answer

0 votes
by

What is a vector?

A vector is an ArrayList like data structure in java whose size increases as per the demands. Moreover, it also supports some legacy functions not supported by collections.

You should also know that a vector is more suitable to work with threads, unlike collection objects.

Related questions

+1 vote
asked Jul 16, 2019 in C Plus Plus by Indian
+1 vote
asked Sep 29, 2021 in JAVA by john ganales
...