What is a vector in Java? Explain with example.

What is a vector in Java? Explain with example.

What is a vector in Java? Explain with example.

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









Related Tutorials/Questions & Answers:
What is a vector in Java? Explain with example.
Please explain what is hibernatetemplate with an example code.
Advertisements
What are constructors ? explain different types of constructor with example
Java2
Javah
what is the meaning of this or explain this
explain servletconfig with programiing example?
Explain Hibernate Relationships with example.
Please explain @interface with an example
Please explain @interface with an example
J2ME Vector Example
JAVA7 : "Hello World" Example
What are events? Explain how Event handling in Java?
Java : Vector Example
Javah -  Header File Generator
What is oops in php with example?
What is array in java with example?
what is the example of wifi in java
Java Vector
What is data science example?
403 Forbidden error - What is 403 Forbidden error, please explain...
Javap Tool application
403 Forbidden error - What is 403 Forbidden error, please explain...
Artifacts of javax
how to create vector in r
ModuleNotFoundError: No module named 'javax'
ModuleNotFoundError: No module named 'javax'
Explain the process of implementing a CORBA client using a Java programming example and the steps involved.
what is meant by persistence in java???? give a programming example
vector question
What is Hibernate one to one relation?Any example..
Javah - Header File Generator
What does a data scientist Do example?
What is Applet in Java with Example?
Vector in Java
Vector in java
What is nested class in Java with Example?
What is nested class in Java with Example?
Javac -source KeyTest.java
vector and arraylist
Version of javax>javaee-api dependency
Convert Array to Vector
How To Create Vector of Vector In R
Convert Vector to Array
Diff between ArrayList and Vector?
Vector Example in java
ModuleNotFoundError: No module named 'javac-parser'
ModuleNotFoundError: No module named 'javac-parser'
Java Vector
Version of javax>javaee-endorsed-api dependency

Ads