Java Ciąg do Char Array
String str = "example";
char[] ch = str.toCharArray();
Pable Sorren
String str = "example";
char[] ch = str.toCharArray();
var str = "HELLO";
var charArray = str.ToCharArray();
var strNew = new string(charArray);
public static void main(String[] args) {
String name = "chathumal";
char[] ch = name.toCharArray();
System.out.println(Arrays.toString(ch));
}