KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Test37


1 public class Test37 {
2
3     public static void main (String JavaDoc [] args){
4         Test37 t37 = new Test37();
5         t37.run();
6     }
7
8     public void run(){
9         TopLevel tl = new TopLevel();
10         tl.run();
11     }
12 }
13
14 class TopLevel {
15
16     public void run(){
17         System.out.println("TopLevel in file Test37.java");
18     }
19     
20 }
21
Popular Tags