A voir également:
- Ascii & java - urgent svp
- Code ascii - Guide
- Jeux java itel - Télécharger - Jeux vidéo
- Waptrick java football - Télécharger - Jeux vidéo
- Waptrick java voiture - Télécharger - Jeux vidéo
- Java apk - Télécharger - Langages
3 réponses
c'est tout con :
//tu mets ton code ascii dans un char
char myCode=92;
System.out.println(myCode); // tu as bien ton antislash
//et apres tu le transforme en string:
String myAntiSlash = new String();
myAntiSlash=myAntiSlash.valueOf(monChar);
System.out.println(myAntiSlash); // tu as toujours ton antislash
//tu mets ton code ascii dans un char
char myCode=92;
System.out.println(myCode); // tu as bien ton antislash
//et apres tu le transforme en string:
String myAntiSlash = new String();
myAntiSlash=myAntiSlash.valueOf(monChar);
System.out.println(myAntiSlash); // tu as toujours ton antislash