public class Test {
public void Demo() {
String s = "1234";
String[] ss = new String[s.length()];
int x = 0;
char[] aa = s.toCharArray();
for (char a : aa) {
System.out.println(a);
ss[x++] = String.valueOf(a);
}
}
public static void main(String[] args) {
Test t = new Test();
t.Demo();
}