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.
here you don't assign a literal but a variable, Hai ! The only reason why this works is because the variable i is declared final and the compiler knows the value it holds. Try removing the final keyword and it doen't work anymore ! HIH ------------------ Valentin Crettaz Sun Certified Programmer for Java 2 Platform