/**
 * 
 */
package reflection09;

/**
 * @author  Ralf Kunze (rkunze@uos.de), Institut fuer Informatik, Universitaet Osnabrueck
 * @date 02.06.2007
 */
public class Angestellter extends Person {

    public String abteilung;
    private int lohn;
    
    public Angestellter(String name, int alter, String abteilung, int lohn) {
        super(name,alter);
        this.abteilung = abteilung;
        this.lohn = lohn;
    }
    
    public String toString() {
        return super.toString() + " Abteilung:" + abteilung + " lohn:" + lohn;
    }
}
