0
How transfer the elements of a vector to an array
1 Respuesta
+ 4
A) toArray() method
https://www.geeksforgeeks.org/how-to-convert-vector-to-array-in-java/
https://www.javatpoint.com/java-vector-toarray-method
B) Create array of appropriate size and use a loopto fill it with vector elements