Java View all facts Glossary Help |
value > primitive value > integral value > integer > byte |
byte | ||||
subject | fact |
byte | can use basic arithmetic operators +, -, *, / and % | |
is a subtopic of Variables and Data Types | ||
is a kind of integer | ||
requires 8 bits | ||
see also Byte class | ||
should not be used for textual data which is to be exposed to the end user | ||
integer | can be compared to a floating point value without casting | |
has arithmetic operations +, -, *, /, %, &, ~, <<, <<<, >>, >>>, bitwise or, bitwise exclusive or, ++, -- | ||
value | ||
has a format | ||
has a size in bytes |