Answers for "array of strings to list java"

0

java String

import java.util.*;
...
String[] strings = {"Lula", "José Aparecido", "Carlos Minc"};
List<String> list = Arrays.asList(strings);
Posted by: Guest on January-01-1970
-1

list of string to string array in java

list.toArray(new String[0]);
Posted by: Guest on March-16-2021

Code answers related to "array of strings to list java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language