Adult Klasse hinzugefügt

Feature-LibraryService
elarturo 2024-11-18 22:57:59 +01:00
parent c44ab9c81c
commit 8d502a3504
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
package DomainLayer;
public class Adult extends User {
private static final double REGULAR_FEE = 50.0; // Jahresgebühr für Erwachsene
public Adult(String id, String name) {
super(id, name, REGULAR_FEE);
}
}