KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Test33


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