Is there any way to get the keycode of a char? For example
getKeycode('C');
Is there anything like that?
Thanks
char ch='c'; int code = ch; System.out.println(code);
OUTPUT:
99
just for escape char you have to use like char ch='\';
ch='\';
2.1m questions
2.1m answers
60 comments
57.0k users