String to Array List in Java

public class StringToArrayList {
        public static void main(String args[]){
                String strNumbers = "1,2,3,4,5";
                String[] strValues = strNumbers.split(",");

                ArrayList<String> aListNumbers = new ArrayList<String>(Arrays.asList(strValues));
           System.out.println("Java String converted to ArrayList: " + aListNumbers);
        }
}