Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Homework5;
- public abstract class Employee {
- public int employeeNum;
- public String first;
- public String last;
- public double payRate;
- public String jobTitle;
- public Employee (int employeeNum, String first, String last, double payRate, String jobTitle)
- {
- }
- public void setEmpNum(int e) {
- employeeNum = e;
- }
- public void setFirst(String f) {
- first = f;
- }
- public void setLast(String l) {
- last = l;
- }
- public abstract void setPay(double p);
- public abstract void setTitle();
- public int getEmpNum() {
- return employeeNum;
- }
- public String getFirst() {
- return first;
- }
- public String getLast() {
- return last;
- }
- public double getPay() {
- return payRate;
- }
- public String getTitle() {
- return jobTitle;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement