It will print the inner y's value, which is in the main method scope
But the following will print 30, which is the outer y's value...
It means that the method variables have more precedence over the instance variables...
Just wanna make things clear...
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0