0
Splitting word into letter using stack data structure
How can I get split word into letters? For instance: I have a word in the stack "dog" and I want to split into another stack like "d" "o" "g"
1 Antwort
0
something like....:
char[] myChars = new char [yourString.length];
for (int I =0; I <yourString.length;I ++){
myChars[I ] = yourString.charAt(I);