Strimg to char array code example Example: java string to char array Click to copyString str = "example"; char[] ch = str.toCharArray();