CPE 102 Assignment 2

Submit your assignment in a zip-file via e-mail.

  1. Write a program Touch.java that changes the date of a specified file to the current date.

  2. Write a program LowerCase.java that changes the name of a file to lowercase.

  3. Write a program DirSize.java that calculates the number and total size of files in the specified directory.

  4. Write a program similar to Fig. 18.29 for your own database example. Try to make the program as generic as possible.

  5. Write a program similar to Fig. 18.30 for your own database example.


Maintained by John Loomis, last updated 29 Jan 2001