Answers for "convert [] 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
3

Create ArrayList from array java

new ArrayList<>(Arrays.asList(array))
Posted by: Guest on November-27-2019

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language