2024-05-07 21:58:15 +00:00
|
|
|
package VL06.Aufgabe01;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Vorlesung 6 / Aufgabe 1
|
2024-05-13 14:05:20 +00:00
|
|
|
*
|
|
|
|
* @author Sebastian Brosch
|
2024-05-07 21:58:15 +00:00
|
|
|
*/
|
|
|
|
public class Aufgabe01 {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
Arbeiter frankMeier = new Arbeiter(4711, "Meier", "Frank", 14.67);
|
|
|
|
frankMeier.print();
|
|
|
|
Facharbeiter steffiMueller = new Facharbeiter(4712, "Müller", "Steffi", 18.33, "Chemie");
|
|
|
|
steffiMueller.print();
|
|
|
|
Manager karlHeinzKaiser = new Manager(4713, "Kaiser", "Karl-Heinz", 3000.00, 400.00, "Mazda Cabrio", "S-ZZ 999");
|
|
|
|
karlHeinzKaiser.print();
|
|
|
|
}
|
|
|
|
}
|