Java tutorial
public class Main { public static void main(String[] args) { int intChar = (int) '0'; System.out.println(intChar); System.out.println(Character.isDigit(intChar)); } }