[Learn Java with ChatGPT-16k-0613] Representation of decimal, octal or hexadecimal data

 Decimal data is represented by numbers from 0-9, such as 123.
Octal data is represented by numbers 0-7 and prefixed with "0", such as 0123.
The representation method of hexadecimal data is to use the letters 0-9 and AF to represent, and add the prefix "0x" or "0X" in front of the number, such as 0x123.

 

Guess you like

Origin blog.csdn.net/qq_39154376/article/details/131368939