Semester_1_i23010/Objektorientierung I, afg1/Anwendung.java

22 lines
613 B
Java
Raw Normal View History

2024-04-10 08:16:18 +00:00
import org.w3c.dom.ls.LSOutput;
import javax.sound.midi.Soundbank;
import java.awt.*;
public class Anwendung {
Arbeiter Frank = new Arbeiter(4711, "Meier", "Frank", 14.67);
Facharbeiter Steffi_Mueller = new Facharbeiter (4712,"Müller", "Steffi",18.33, "Chemie");
Manager Karl_Heinz_Kaiser = new Manager (3, "Kaiser", "Karls-Heinz", 5000, 2.50, "Mazda Cabrio", "S-ZZ 999");
Anwendung(){
Frank.print();
2024-04-10 08:31:53 +00:00
System.out.println("=====================");
2024-04-10 08:16:18 +00:00
Steffi_Mueller.print();
2024-04-10 08:31:53 +00:00
System.out.println("=====================");
2024-04-10 08:16:18 +00:00
Karl_Heinz_Kaiser.print();
}
}