DHStudent.java und Person.java debugged

TestKlasse.java fertig bis zu Aufgabe 4.3 c)
This commit is contained in:
mofixx
2025-07-25 12:03:40 +02:00
parent 9c98b720fe
commit 7054e41f3b
3 changed files with 84 additions and 9 deletions

View File

@ -9,7 +9,7 @@ public abstract class Person {
/**
* Klassenvariable zur Zählung aller erstellten Personen
*/
private static int anzahl = 0;
protected static int anzahl = 0;
/**
* Name der Person