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
403 Forbidden error - What is 403 Forbidden error, please explain...
Javap Tool application
What is data science example?
Artifacts of javax
403 Forbidden error - What is 403 Forbidden error, please explain...
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.
vector question
Javah - Header File Generator
what is meant by persistence in java???? give a programming example

Ads