Source of PayInterface.java


  1: //PayInterface.java
  2: //Interface containing two methods common to other classes

  4: /**
  5:  * An interface for implementation by any class requring
  6:  * a method to compute a weekly gross wage.
  7:  */
  8: public interface PayInterface
  9: {
 10:     /**
 11:      * Gets a weekly gross wage.
 12:      * @return  A value of a weekly gross wage.
 13:      */
 14:     public double getGrossWage();
 15: }