Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Help Java V Java Vector

Related Tutorials


 
 

Share on Google+Share on Google+

Java Vector

Advertisement
Vector represents a collection of similar items.

Java Vector

     

Vector represents a collection of similar items. In Java, the Vector class is defined in java.util package that implements a growable array of objects. Like an array, its items can be accessed using an integer index. Once the Vector has been created, the size of a Vector can be grown or reduced as needed to adding and removing items to that vector.
  
Vectors are extremely easy to use, and implement the Enumeration interface which makes traversing the contents of a Vector extremely easy.
Creating a vector is easy. You just need to simply define a variable of type Vector, and call the vector constructor.

Read more at:

http:/www.roseindia.net/java/beginners/vectordemo.shtml

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 18, 2009

Related Tutorials

Discuss: Java Vector  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:1
vijay
January 5, 2013
java vector

pls send me java vector notes
DMCA.com