What is a vector in Java? Explain with example.

Ads
 

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.
What are constructors ? explain different types of constructor with example
Advertisements
Please explain what is hibernatetemplate with an example code.
Java2
Javah
what is the meaning of this or explain this
explain servletconfig with programiing example?
Please explain @interface with an example
Please explain @interface with an example
Explain Hibernate Relationships with example.
J2ME Vector Example
JAVA7 : "Hello World" Example
What are events? Explain how Event handling in Java?
Java : Vector Example
what is the example of wifi in java
Javah -  Header File Generator
What is oops in php with example?
What is array in java with example?
403 Forbidden error - What is 403 Forbidden error, please explain...
Java Vector
Javap Tool application
403 Forbidden error - What is 403 Forbidden error, please explain...
Artifacts of javax
how to create vector in r
what is meant by persistence in java???? give a programming example
ModuleNotFoundError: No module named 'javax'
ModuleNotFoundError: No module named 'javax'
What is Hibernate one to one relation?Any example..
Explain the process of implementing a CORBA client using a Java programming example and the steps involved.
Javah - Header File Generator
vector question

Ads