This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
first "for" loop is iterating using JMM125.i variable. It prints: "12" (and JMM125.i is set to 3). Second loop uses loop-local variable and also prints "12". After loop finishes variable is disposed. Third loop uses variable declared in line //3. It prints "01". And last line prints value of JMM125.i which is set to 3 at first loop.