PR2Bib/src/domainBib/Benutzer.java gelöscht
parent
1c6d96fe39
commit
0056bdea79
|
@ -1,25 +0,0 @@
|
|||
package domainBib;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public abstract class Benutzer {
|
||||
private int kennnummer;
|
||||
abstract public int getKennnummer();
|
||||
abstract public boolean istStudent();
|
||||
}
|
||||
|
||||
class Mitarbeiter extends Benutzer {
|
||||
private int kennnummer;
|
||||
|
||||
public Mitarbeiter(int kennnummer) {
|
||||
this.kennnummer = kennnummer;
|
||||
}
|
||||
|
||||
public int getKennnummer() {
|
||||
return kennnummer;
|
||||
}
|
||||
|
||||
public boolean istStudent() {
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue