Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class Employee extends Person {
- private String jobtitle;
- public String getJobtitle() {
- return jobtitle;
- }
- public void setJobtitle(String jobtitle) {
- this.jobtitle = jobtitle;
- }
- public abstract float calculateSalary();
- }
Add Comment
Please, Sign In to add comment