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='\';
1.4m articles
1.4m replys
5 comments
57.0k users