What is a vector in Java? Explain with example.
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.