Source of CreateRandomFileTest.java


  1: // Fig. 14.25: CreateRandomFileTest.java
  2: // Testing class CreateRandomFile.
  3: 
  4: public class CreateRandomFileTest
  5: {    
  6:    public static void main( String args[] )
  7:    {
  8:       CreateRandomFile application = new CreateRandomFile();
  9:       application.createFile();
 10:    } // end main
 11: } // end class CreateRandomFileTest
 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: *************************************************************************/