1String s = "Hello, World*";
2char[] c = s.toCharArray();
3String[] sA = new String[c.length];
4
5for(int i = 0; i < c.length; i++)
6 sA[i] = String.valueOf(c[i]);
1String wort="Hallo";
2char[] array = new char[wort.length()];
3int i = 0;
4while(i<wort.length()) {
5 array[i] = wort.charAt(i);
6 i++;
7}