hexadecimal to decimal java program code example
Example: Java convert hex to decimal
public class ConvertHexToDecimal
{
public static void main(String[] args)
{
String strHex = "b";
int decimal = Integer.parseInt(strHex, 16);
System.out.println("Decimal number : " + decimal);
}
}