Neben den Java-Klassen gibt es noch eine Reihe von primitiven Typen:

Typ WertebereichSorted ascending Literale
byte 8 bit (vorzeichenbehaftet) 42, 0x42
char 16 bit (Unicode) 'C', \u0042
short 16 bit (vorzeichenbehaftet) 12345
int 32 bit (vorzeichenbehaftet) 1234567890, 0x1A2B3C4D
float 32 bit Fließkommazahl 0.815F
long 64 bit (vorzeichenbehaftet) 9223372036854775807, 0x1...F
double 64 bit Fließkommazahl 0.1D, 0.1, =2.3e42
boolean false, true

-- Christo - 14 Nov 2003
Topic revision: r1 - 2003-11-14, ChristopherHuhn
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)