title: How to print bytes in hexadecimal using System.out.println?
body: <p>I've declared a byte array (I'm using Java):</p>
  
  <pre><code>byte test[] = new byte[3];
  test[0] = 0x0A;
  test[1] = 0xFF;
  test[2] = 0x01;
  </code></pre>
  
  <p>How could I print the different values stored in the array?</p>
  
  <p>If I use System.out.println(test[0]) it will print '10'. I'd like it to print 0x0A</p>
  
  <p>Thanks to everyone!</p>