---
title: "What is the Vector class in java?"  
description: "What is the Vector class in java?"  
author: "Sumit Kesarwani"  
published: 2014-09-28  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/2200/what-is-the-vector-class-in-java  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What is the Vector class in java?

The Vector class provides the capability to implement a growable array of objects

## Answers

### Answer by Mark M

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.

### Answer by Sumit Kesarwani

The Vector class provides the capability to implement a growable array of objects


---

Original Source: https://www.mindstick.com/interview/2200/what-is-the-vector-class-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
