java – Methods like ord and chr from Python

java – Methods like ord and chr from Python

You can cast:

c = (char) n;

n = (int) c;

java – Methods like ord and chr from Python

Leave a Reply

Your email address will not be published. Required fields are marked *