Please anyone tell me how I got 55 answer for the below code.
byte myByte = 067;
System.out.println("Byte value: " + myByte);
I got answer as below Byte value: 55
Thanks.
Join Stack Overflow to learn, share knowledge, and build your career.
Please anyone tell me how I got 55 answer for the below code.
byte myByte = 067;
System.out.println("Byte value: " + myByte);
I got answer as below Byte value: 55
Thanks.
067
is octal 67, which is decimal 55. – khelwood Feb 9 '17 at 9:22