Oct 23, 2020 in JAVA
Q: What is a vector in Java

1 Answer

0 votes
Oct 23, 2020

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.

Click here to read more about JAVA
Click here to read more about Insurance

Related questions

+1 vote
Jul 16, 2019 in C Plus Plus
+1 vote
...