What is a vector in Java? Explain with example.

Ads

 
 

Share on Google+Share on Google+

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

What is a vector in Java? Explain with example.

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


Ads









Ads

 
Advertisement null

Ads