12 lines
247 B
Java
12 lines
247 B
Java
|
class Angestellter extends Mitarbeiter {
|
||
|
|
||
|
double monatsGehalt;
|
||
|
|
||
|
void print(){
|
||
|
System.out.println(getPersonalNummer());
|
||
|
System.out.println(getName());
|
||
|
System.out.println(getVorname());
|
||
|
System.out.println(monatsGehalt);
|
||
|
}
|
||
|
}
|