Converta String em Char Array em Java

String str = "example";
char[] ch = str.toCharArray(); 
Pable Sorren