Hello,
I am trying to understand what a byte array is.
public class ByteArrayExample
{
public static void main (String args[])
{
byte[] array = "1".getBytes();
System.out.println (array);
}
}
The output of this program is : [B@44770739
Is this a hexadecimal representation? If any of the members can explain how "1" is represented as "44770739" in a byte array, I would be very grateful.
Thank you!