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.
Yes. "y" exists only inside that inner "for" loop. As soon as that loop is through executing, it's as if "y" never existed. The next time around the outer loop, everything starts fresh, and you get a brand new copy of "y".