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