Sobes.tech
Intern
150

Comment convertir une chaîne en un tableau de caractères?

Réponse de l'IA

sobes.tech IA

// Convertit une chaîne en un tableau de caractères.
String str = "Hello, World!";
char[] charArray = str.toCharArray();