Displaying the contents of a textfile in the cmd by typing in the filename in a java program? :  Write a program that reads in a file and displays its 
   contents. Get the input file name from the command line. For 
   example, if your program is in the file Display.class, you 
   would enter on the command line 

     java Display t1.txt

   to display the file t1.txt.

how can this be done?
