int | ganze Zahl |
double | Fließkomma-Zahl |
String | Zeichenkette |
boolean | ja/nein-Entscheidung (true/false) |
sqrt | Quadratwurzel |
floor | ganzzahliger Anteil (nach unten gerundet) |
i = (int) d; | von double nach int |
i = Integer.parseInt(s); | von String nach int |
if (BEDINGUNG) { ANWEISUNGEN1 } else { ANWEISUNGEN2 }
for (int i=3; i<=max; i=i+2) { ANWEISUNGEN }