Numeric values having no decimal parts are called integer literals. These values can be expressed in decimal, octal, and hexadecimal forms. By default, integer literals are in decimal form. The decimal form contains a sequence of decimal digits (0 to 9), the octal form contains a sequence of octal digits (0 to 7) prefixed by 0 (zero), whereas the hexadecimal form contains a sequence of hexadecimal digits (0 to 9, a to f) prefixed by 0x or 0X. In the hexadecimal form, the characters (a to f) may be in uppercase or lowercase.
By default, integer literals are 32-bit values. In order to indicate a 64-bit long value, the character L (either in uppercase or lower case) is appended to the literal.
- Best exam simulation SUN scja download free trial.
- Click here to download CX310-019 test study guide and practice question.
- Download free practice test for SUN SCJP 2 exam.
- Pass SUN CX310-055 - Java 5.0
- Click here to download CX310-056 test study guide and practice question.
- Get certified in first attempt download CX310-065 - SCJP 6.0 simulation.
- Download practice question and study guide for CX310-066 for exam.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.