title: Compare hexadecimal and decimal values
body: <p>i have byte array stored by both hexadecimal and decimal value,i want to search for hexadecimal 1 i'e SOH in the how can i do this in java,plz give a sample code.
  int SOH=0X01;
  if(SOH==1)</p>
  
  <p>Is showing true. Is this correct?</p>