KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've declared a byte array (I'm using Java): byte test[] = new byte[3]; test[0] = 0x0A; test[1] = 0xFF; test[2] = 0x01; How could I print the different values stored in the array? If I use System.out.println(test[0]) it will print '10'. I'd like it to print 0x0A Thanks to everyone!
Tags (comma-separated)
Save Edits
Cancel