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

Read more of this post