Home > DeveloperSection > Interviews > What is the Vector class in java?

Posted on    September-28-2014 11:50 PM

 Java Java 
Ratings:
 2 Answer(s)
  681  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    September-28-2014 11:50 PM

The Vector class provides the capability to implement a growable array of objects


Kamlakar Singh
Kamlakar Singh

Total Post:1

Points:5
Posted on    October-06-2014 2:47 AM

Vector implements a dynamic array. It is similar to ArrayList, but with two differences:

  • Vector is synchronized.

  • Vector contains many legacy methods that are not part of the collections framework.


Don't want to miss updates? Please click the below button!

Follow MindStick