public void work()
{
System.out.println("工作是管理程序员");
}
public void show()
{
System.out.println("名字:"+this.getName()+"\t员工编号:" +this.getId()+"\t薪水"+this.getPay()+bonus);
}
}
class Abstract //主类
{
public static void main(String[] args)
{
Programmer pr = new Programmer("张三","技术部01",3000);
Manager ma = new Manager("王五","经理",9000, 5000);