KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Test56


1 public class Test56{
2
3     public static void main(String JavaDoc [] args){
4         run(4);
5     }
6     
7     public static void run(final int x){
8         class Helper{
9         
10             public void action(){
11                 System.out.println(x);
12             }
13         };
14     }
15 }
16
Popular Tags