Die zwei Codezeilen:
Code (Java):
Student s = new Student(arr[0], arr[1]);
l.add(s);
l.add(s);
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at schuelerliste.Schuelerliste.main(Schuelerliste.java:37)
C:\Users\Philipp\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1
BUILD FAILED (total time: 5 seconds)
Was könnte da...
Reader
Reader
0 commentaires:
Enregistrer un commentaire