Class HourlyWorker

java.lang.Object
  extended byHourlyWorker

public class HourlyWorker
extends java.lang.Object


Constructor Summary
HourlyWorker(java.lang.String theName, java.lang.String theSocSecNum, double theRate)
           
 
Method Summary
 double computeNetPay(double hoursWorked)
           
static void main(java.lang.String[] args)
          Main method for testing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HourlyWorker

public HourlyWorker(java.lang.String theName,
                    java.lang.String theSocSecNum,
                    double theRate)
Method Detail

computeNetPay

public double computeNetPay(double hoursWorked)

main

public static void main(java.lang.String[] args)
Main method for testing