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.









Related Tutorials/Questions & Answers:
What is a vector in Java? Explain with example.
difference between java5 and java6 - Java Beginners
Advertisements
Please explain what is hibernatetemplate with an example code.
What are constructors ? explain different types of constructor with example
what is diference between the vector and arraylist with realtime example - Java Interview Questions
Java2
Javah
what is the meaning of this or explain this
explain servletconfig with programiing example?
Explain Hibernate Relationships with example.
What is outer join?Explain with examples.
Please explain @interface with an example
Please explain @interface with an example
about java1
Vector Iterator Java Example
J2ME Vector Example
JAVA7 : "Hello World" Example
javaa swings - IDE Questions
What is a join and explain different types of joins
About Java2
What are events? Explain how Event handling in Java?
Java : Vector Example
Javah -  Header File Generator
Javap Tool application
What is array in java with example?
What is oops in php 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...
403 Forbidden error - What is 403 Forbidden error, please explain...
Artifacts of javax
arraylist and vector
how to create vector in r
Java Vector Iterator
Javah - Header File Generator
Explain the process of implementing a CORBA client using a Java programming example and the steps involved.
vector question
what is meant by persistence in java???? give a programming example
Javah - Header File Generator
What is Hibernate one to one relation?Any example..
ModuleNotFoundError: No module named 'javax'
ModuleNotFoundError: No module named 'javax'
Javac -source KeyTest.java
What is Applet in Java with Example?
What does a data scientist Do example?
Explain - LDAP
ArrayList and Vector
vector and arraylist
Vector in java

Ads