Java Coder
What is a vector in Java? Explain with example.
1 Answer(s)      2 years and 4 months ago
Posted in : Java Beginners

What is a vector in Java? Explain with example.

Advertisement
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.