Sortieren
parent
537769b8fa
commit
f56738f7eb
|
@ -16,6 +16,13 @@ public class Pruefungsanmeldung {
|
|||
}
|
||||
}
|
||||
|
||||
public void sortieren() {
|
||||
for (int matrikelnr : anmeldung) {
|
||||
System.out.println(matrikelnr);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class Prüfungen {
|
||||
String prüfungsmodul;
|
||||
}
|
||||
|
@ -24,6 +31,11 @@ public class Pruefungsanmeldung {
|
|||
Pruefungsanmeldung p1 = new Pruefungsanmeldung();
|
||||
System.out.println(p1.anmelden(12345));
|
||||
System.out.println(p1.anmelden(12045));
|
||||
System.out.println(p1.anmelden(73486946));
|
||||
System.out.println(p1.anmelden(17));
|
||||
System.out.println(p1.anmelden(897));
|
||||
|
||||
p1.sortieren();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue