What is a vector in Java? Explain with example.
Hi,
The Vector is a collect of Object that implement AbstractList class. It autometically increases the list length when required. There are 2 types of Vector i.e. synchronized and Vector contains many legacy methods that are not part of the collections framework.
For more related to Vector in Java program.
Ads