Ok, but my point is
They hold the same value. They all are instances of Byte, but strangely, only two references point to the same object.
In the book, it states (p236) taht two wrapper objects will always be == when their primitive values are the same:
- Boolean
- Byte
- (..)
- Short and Integer from -128 to 127.
According to that, the == betweeb any of these four Byte instances should return true ...