Skip to content

Instantly share code, notes, and snippets.

@khan5v
Created August 11, 2017 19:08
Show Gist options
  • Save khan5v/027db9f600d5c8a0546beb975b16399a to your computer and use it in GitHub Desktop.
Save khan5v/027db9f600d5c8a0546beb975b16399a to your computer and use it in GitHub Desktop.
Java conversion from ASCII to int and back
int ascii_int = (int) 'a';
char ascii_char = (char) 97;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment