prev up next

Previous: Operatoren Up: Ganze Zahlen (byte, short, int, long) Next: Gleitkommazahlen (float, double)

Konstantenbezeichner

123 +123 -123

Eine führende Null kündigt eine Oktalzahl zur Basis 8 an: 0173. Eine führende Null mit nachfolgendem x oder X kündigt eine Hexadezimalzahl zur Basis 16 an: 0x7B.


prev up next
Previous: Operatoren Up: Ganze Zahlen (byte, short, int, long) Next: Gleitkommazahlen (float, double)