|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEmployee
Salaried_jd
public class Salaried_jd
This class implements a salaried employee. It has same functionality as the Salaried class in Chapter 13.
Constructor Summary | |
---|---|
Salaried_jd(java.lang.String name,
double salary)
|
Method Summary | |
---|---|
double |
getPay()
|
Methods inherited from class Employee |
---|
printPay |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Salaried_jd(java.lang.String name, double salary)
name
- person's namesalary
- annual salary in dollarsMethod Detail |
---|
public double getPay()
getPay
in class Employee
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |