43 StaffMember.java abstract public class StaffMember { protected String name; protected String phone; public StaffMember(String eName, String ePhone) { name = eName; phone = ePhone; } public String toString() { String result = Name: + name + \n ; result += Phone: + phone; return result; } public abstract double pay(); }
{}