Bonjour,

Je sais pour convertir un élément vers un String, on utilise toString() mais ça marche pas dans mon cas.
voilà mon bout de code pour un test simple d'affichage:
char x='a';
System.out.println(char.toString());
il m'affiche cette erreur
Cannot invoke toString() on the primitive type char
?? Idée Svp?
Merci