This commit is contained in:
Your Name
2023-10-03 23:28:51 +02:00
parent 9a83c28137
commit 42f2899bbf
162 changed files with 9 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
package Ueb08;
public class DozentTest {
public static void main(String[] args) {
Dozent dieDozentin = new Dozent("kek","gebiet",'w');
Dozent derDekan = new Dozent("Dekan","dekanien",'m');
derDekan.setDekan(true);
System.out.println(derDekan.getGeschlecht() + derDekan.getName() + derDekan.getLehrgebiet() + derDekan.isDekan());
System.out.println(dieDozentin.getLehrgebiet());
}
}