Choose Category
//char to integer // character to ascii value class Demoascii { public static void main(String args[]) { char ch = 'A'; System.out.println("ascii value for A is"+ (int)ch); } }