Java View all facts Glossary Help |
value > primitive value > integral value |
integral value comparison table |
Subject | use | compare to | have arithmetic operations | see also | contain | is a synonym of | have size |
---|---|---|---|---|---|---|---|
char | basic arithmetic operators +, -, *, / and % | Character class | 2 bytes | Unicode character | 2 bytes | ||
integer | a floating point value without casting | +, -, *, /, %, &, ~, <<, <<<, >>, >>>, bitwise or, bitwise exclusive or, ++, -- |
Next primitive value: boolean Up: primitive value Previous primitive value: floating point value