posted 20 years ago
Hi,
I've a doubt concerning the decrement operator. Could someone please explain the following to me:
byte y = -128;
byte x = y--;
System.out.println ("y = " + y);
Output:
y = 127
I cant figure out how the value of y became 127.
Thanks.
Rebecca