KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ByteProblem


1 public class ByteProblem {
2
3     public static void main(String JavaDoc [] args){
4         new ByteProblem().reffoo();
5     }
6     
7         public final static byte TheConstant = 3;
8
9             public void foo(byte x) {}
10
11                 public void reffoo(){
12                             foo(TheConstant);
13                                 }
14 }
15
16
Popular Tags