Plz help me in writing
a prog
that coverts a integer values to respective hexa value and store it to a file

eg:

in file i need like this
15 0xf(0x mandatory),
255 0xff
254 0xfe

Integer.toHexString(myInt)