public class StringToArray{
public static void main(String args[]){
String s = "JAVA";
char charArray[] = s.toCharArray();
System.out.println(s.toCharArray());
/* for(int i=0; i<charArray.length;i++){
System.out.print(charArray[i]);
}
System.out.println(); */
}
}