 |
byte
The byte primitive represents an 8 bit signed integer. The Byte object is a wrapper class for byte.
Rules
- A byte can range in value from -27 to 27-1.
- A byte can be converted to a short, int, long, float or double without loss of information. This is known as a widening primitive conversion.
- A byte cannot be converted to a boolean.
Discussion about byte
|