Convert an array to list

From CodeCodex

Implementations[edit]

Java[edit]

String[] to List[edit]

String[] words = {"one", "two", "three"};  
List<String> wordList = Arrays.asList(words);