how to convert a char from alphabetical character to hexadecimal number in java a if any one have any built-in method in java that does the job or if you have your own metho
You could use:
Integer.toHexString((int) 'a'); Integer.toBinaryString((int) 'b');
Update: hex -> binary conversion:
Integer.toBinaryString(Integer.parseInt("fa", 16))