// Java program to convert hexadecimal Byte// to an integerpublicclassMain{staticintgetNum(charch){intnum=0;if(ch>='0'&&ch<='9'){num=ch-0x30;}else{switch(ch){case'A':case'a':num=10;break;case'B':case'b':num=11;break;case'C':case'c':num=12;break;case'D':case'd':num...