KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > defaultpkg > Main


1 /*
2  * Main.java
3  *
4  * Created on January 18, 2007, 9:51 AM
5  *
6  * To change this template, choose Tools | Template Manager
7  * and open the template in the editor.
8  */

9
10 package defaultpkg;
11
12 import java.util.List JavaDoc;
13
14 /**
15  *
16  * @author jp159440
17  */

18 public class Main {
19     
20     /** Creates a new instance of Main */
21     public Main() {
22     }
23     
24     public void method(Main m) {
25         List JavaDoc<Main> l;
26     }
27     
28     public static Main getInstance() {
29         return new Main();
30     }
31             
32     
33     /**
34      * @param args the command line arguments
35      */

36     public static void main(String JavaDoc[] args) {
37         Main m = new Main();
38     }
39     
40 }
41
Popular Tags