22 lines
611 B
Java
22 lines
611 B
Java
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();
|
|
System.out.println("====================");
|
|
Steffi_Mueller.print();
|
|
System.out.println("====================");
|
|
Karl_Heinz_Kaiser.print();
|
|
}
|
|
}
|
|
|