Intern
Como converter uma string em um array de caracteres?
sobes.tech IA
Resposta da IA
// Converte uma string em um array de caracteres.
String str = "Hello, World!";
char[] charArray = str.toCharArray();
sobes.tech IA
Resposta da IA
// Converte uma string em um array de caracteres.
String str = "Hello, World!";
char[] charArray = str.toCharArray();