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

what do you have so far?

Integer.toHexString(myInt)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.