What is Vector class?- The capability of implementing a growable array of object is provided by the class Vector.
- A Vector class implements the dynamic array that can grow and shrink at run time (dynamically).
- It resembles the implementation of ArrayList with a difference that Vector is synchronized.
- It reduces the amount of incremental reallocation.
- It is structurally modified at any time after the iterator is created.