This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Krisha, why do you think a value is re-assigned to the final variables? Actually I didn't know how this works. But with the description of Bill I'd say the compiler can't even assign any value to this variables until it detects the loop. So there's really only one assignment of a value.
Or am I wrong? Unfortunately I don't know how exactly the compiler does this work internally.
Joined: Nov 08, 2007
The assignments are only made once. Unassigned int values are 0.
I modified the previous response with more detail.