Java View all facts Glossary Help |
syntactic unit > symbol > literal > numeric literal > integer literal |
integer literal comparison table |
Subject | indicate by | have example |
---|---|---|
hexadecimal integer literal | prepending 0x (zero and x) to the number |
|
long integer literal | putting the letter L (in upper or lower case) after the number | 4L |
octal integer literal | prepending a zero (0) to the number | 0777 is the octal number 777 |
Next numeric literal: floating point literal Up: numeric literal