como colocar string em char matriz no tutorialspoint java

char[] ch = str.toCharArray();
Defeated Dove