Home > Back-end >  Print a Java byte array
Print a Java byte array

Time:05-21

, want to ask, how byte array according to the String to print, like the following array, how to let him print result is ab3
Byte dd=new byte [] [3].
Dd [0]='a';
Dd [1]='b';
Dd [2]=3;
According to the byte array that way [0], byte [1] individually printed are all digital, why is this?

CodePudding user response:

Into a char array

CodePudding user response:

Byte ascll value types are stored
  • Related