Comment puis-je afficher la valeur souhaitée dans le code ASCII entrés par moi?

J'ai besoin de code Java. S'il vous plaît aider moi. Exemple: quand je rentre le numéro ASCII

0 the output will be nul
1 for soh
2 for stx until it reaches the max number of ASCII.

Considérer ce code. Il génère un numéro d'ASCII. Comment puis-je inverser?

String test = "ABCD";
for ( int i = 0; i < test.length(); ++i ) {
    char c = test.charAt( i );
    int j = (int) c;
    System.out.println(j);
}
  • Manque aux devoirs de la balise
InformationsquelleAutor jhoanne | 2010-10-05