Auf Thema antworten

Du hast ein Semikolon hinter der if Anweisung gemacht das solltest du beheben.

[code=Java]               if(x ==500&& y ==500){         

                   System.out.println(x);

                   System.out.println(y);

                   System.exit(0);

               }[/code]



Oben