java string to char array list code example
Example 1: java string to char array
String str = "example";
char[] ch = str.toCharArray();
Example 2: char array to arraylist java
myString.chars().mapToObj(c -> (char) c).collect(Collectors.toList());