Numeric Values Representation in Java: Difference between revisions
Jump to navigation
Jump to search
(→TODO) |
|||
Line 16: | Line 16: | ||
There are no <code>byte</code> literals, but any <code>int</code> literal that falls within the range of a byte can be assigned to a byte variable. | There are no <code>byte</code> literals, but any <code>int</code> literal that falls within the range of a byte can be assigned to a byte variable. | ||
Revision as of 19:19, 6 April 2020
Internal
Primitive Types
Integral Primitive Type
Floating Point Primitive Type
Literals
There are no byte
literals, but any int
literal that falls within the range of a byte can be assigned to a byte variable.