What is a vector in Java? Explain with example.

What is a vector in Java? Explain with example.

View Answers

March 26, 2013 at 1:02 PM

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.









Related Tutorials/Questions & Answers:
Advertisements