1import java.util.ArrayList;
2import java.util.List;
3
4// Convert a String to a List of Characters
5class Util
6{
7 public static void main(String[] args)
8 {
9 String string = "Techie Delight";
10 List<Character> chars = new ArrayList<>();
11
12 for (char ch: string.toCharArray()) {
13 chars.add(ch);
14 }
15
16 System.out.println(chars);
17 }
18}