Arraylist string to character java
String str = "abcd...";
ArrayList<Character> chars = new ArrayList<Character>();
for (char c : str.toCharArray()) {
chars.add(c);
}
0
0
ArrayList<Character> operations = new ArrayList<Character>();
Thank you!
0
0
Are there any code examples left?
New code examples in category Java