Slyh: Java-Newbie braucht Hilfe...

Beitrag lesen

Hallo,

Falsch:

int args[] = new int[]{};

Korrekt:
int args[] = new int[20];

Sonst gibt es eine ArrayIndexOutOfBoundsException während der Ausführung.
(Läßt sich das obenstehende überhaupt kompilieren?)

Gruß
Slyh