convert char alphabet to int java code example
Example: java convert char to int
char something = '1';
int value = Integer.parseInt(something + "");
System.out.println(value); // prints 1
char something = '1';
int value = Integer.parseInt(something + "");
System.out.println(value); // prints 1