AI答案
sobes.tech AI
// Преобразует строку в массив символов. String str = "Hello, World!"; char[] charArray = str.toCharArray();