1: // Fig. 10.11: Payable.java
2: // Payable interface declaration.
4: public interface Payable
5: {
6: double getPaymentAmount(); // calculate payment; no implementation
7: } // end interface Payable
9: /**************************************************************************
10: * (C) Copyright 1992-2005 by Deitel & Associates, Inc. and *
11: * Pearson Education, Inc. All Rights Reserved. *
12: * *
13: * DISCLAIMER: The authors and publisher of this book have used their *
14: * best efforts in preparing the book. These efforts include the *
15: * development, research, and testing of the theories and programs *
16: * to determine their effectiveness. The authors and publisher make *
17: * no warranty of any kind, expressed or implied, with regard to these *
18: * programs or to the documentation contained in these books. The authors *
19: * and publisher shall not be liable in any event for incidental or *
20: * consequential damages in connection with, or arising out of, the *
21: * furnishing, performance, or use of these programs. *
22: *************************************************************************/