I always get an exception
Exception in thread "main" java.util.FormatFlagsConversionMismatchException: Conversion = h, Flags = 0
on this line of code
String.format("%02H", data[i]);
the data array holds char variables.
I want to print these characters in hex format like 09, not only 9.