Source of MethodOverloadTest.java


  1: // Fig. 6.14: MethodOverloadTest.java
  2: // Application to test class MethodOverload.
  3: 
  4: public class MethodOverloadTest
  5: {
  6:    public static void main( String args[] ) 
  7:    {
  8:       MethodOverload methodOverload = new MethodOverload();
  9:       methodOverload.testOverloadedMethods();
 10:    } // end main
 11: } // end class MethodOverloadTest
 12: 
 13: /**************************************************************************
 14:  * (C) Copyright 1992-2005 by Deitel & Associates, Inc. and               *
 15:  * Pearson Education, Inc. All Rights Reserved.                           *
 16:  *                                                                        *
 17:  * DISCLAIMER: The authors and publisher of this book have used their     *
 18:  * best efforts in preparing the book. These efforts include the          *
 19:  * development, research, and testing of the theories and programs        *
 20:  * to determine their effectiveness. The authors and publisher make       *
 21:  * no warranty of any kind, expressed or implied, with regard to these    *
 22:  * programs or to the documentation contained in these books. The authors *
 23:  * and publisher shall not be liable in any event for incidental or       *
 24:  * consequential damages in connection with, or arising out of, the       *
 25:  * furnishing, performance, or use of these programs.                     *
 26:  *************************************************************************/