posted 17 years ago
Consider the following code:
This code compiles fine and puts out the expected output.
What has me confused is the "final" int the second for loop.
I would have thought that the code would not compile.
If we make k final in the 1st loop, code does not compile.
Can somebody explain this to me.
[ January 21, 2007: Message edited by: Barry Gaunt ]