public static void main(String[] args) { String name = "chathumal"; char[] ch = name.toCharArray(); System.out.println(Arrays.toString(ch)); }