character array as list code example Example: char array to arraylist java myString.chars().mapToObj(c -> (char) c).collect(Collectors.toList());