Privacy Policy Terms Of Use. Copyright © 2006-2010 Java Tutorials and Examples.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Submitted by Rewati on Mon, 11/08/2010 - 15:40
How do I convert vector to string? I have a vector in which I store value entered by user. I want to get the value from vector and convert it back to String object.
1 answer
Similar entries
- Java Vector Java ArrayList Difference
- Java Vector list
- Java Vector, Java Vector Tutorial
- Java Vector Constuctors
- Get Elements, Remove Elements From Java Vector, Convert Java Vector to Object Array
- Java Vector Clone
- Is Java Vector synchronized?
- Java Array to Vector
- Java Vector int
- Add elements to Java Vector, Replace elements from Java Vector, Insert elements in Java Vector

like this
Vector vec=new Vector();
//assume vector has 10 elements
//position can be any from 0 to 9.
String value=vec.getElementAt(position).toString();