Home   Cover Cover Cover Cover
 

Ergebnistyp von Ausdrücken

short s = 1; int i = 2; long x = 3; float f = 4f; char c = 'a'; Color col = Color.red;

AusdruckErgebnistyp
s + 1int
s + 100000000000long
i + ffloat
c + 1int
col + 1Color
10 * x + (x - '0')long
s + 1.0double