posted 13 years ago
Hi, Why I am getting an error at Line #7 . If I replace Line 3 and Line 4 with final int b = 2; I don't get error. This is called Compile Time constant..what is the logic behind this.
OCPJP 6.0-81% | Preparing for OCWCD
http://www.certpal.com/blogs/cert-articles | http://sites.google.com/site/mostlyjava/scwcd |