See how int a and int b have the prefix "0x" before the hex value? I want to make more of these from a string. I tried to use parseInt from Integer, but I get a NumberFormatException. Can anyone help?
int a = 0xA;
int b = 0x4;
String f = "0xF";
int d = Integer.parseInt(f, 16);
I want "int d = 0xF"