KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Test35


1 class Test60 {
2
3     public static void main(String JavaDoc [] args){
4         Inner in = new Inner();
5         in.run();
6     }
7
8     public static class Inner {
9         public void run(){
10             System.out.println("Hello");
11         }
12     }
13 }
14
15 public class Test35 {
16
17     public static void main(String JavaDoc [] args){
18         Test35 t = new Test35();
19         t.run();
20     }
21
22     public void run (){
23         new Test60.Inner();
24     }
25
26 }
27
Popular Tags