How to Convert String Array To List in java - java programming - learn java - java basics - java for beginners
Learn Java - Java tutorial - strarray to list - Java examples - Java programs
String Array To List
- The String Array To List shows how to convert Java String array to java.util.List object using Arrays.asList method.
- To covert String array to java.util.List object, use List asList(String[] strArray) method of Arrays class.
- Please note that list object created using this method cannot be modified. Any attempt to call add or delete method would throw UnsupportedOperationException exception.
Syntax:
Learn Java - Java tutorial - java string array list - Java examples - Java programs