/Users/lyon/j4p/src/bookExamples/ch24Reflection/Hello.java

1    package bookExamples.ch24Reflection; 
2     
3    // bookExamples.ch24Reflection.Hello 
4     
5    /** 
6     * DocJava, Inc. 
7     * http://www.docjava.com 
8     * Programmer: dlyon 
9     * Date: Oct 6, 2004 
10    * Time: 8:38:03 PM 
11    */ 
12   public class Hello { 
13       public static void noArgs() { 
14           System.out.println("I have no args!"); 
15       } 
16       public static void main(String[] args) { 
17           for (int i=0; i < args.length;i++) 
18               System.out.println(args[i]); 
19       } 
20   } 
21