/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package stack1325; /** * * @author jcmt */ public abstract class Employee implements Payable { private String name; private double pay; public Employee(String name, double pay) { this.name = name; this.pay = pay; } public String getName() { return name; } public void setName(String name) { this.name = name; } public double getPay() { return pay; } public void setPay(double pay) { this.pay = pay; } }