In this section, you will learn to convert an Array to Vector.
This program helps you in converting an Array into a Vector. Here we have taken an array of data which gets converted to data of Vector using Array.asList method. We have also used Enumeration to get the next element of the data.
Output of the program:
Mon Jul 30 17:32:03 GMT+05:30 2007
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: Convert Array to Vector
Post your Comment