The new scope does not hide variables in the outer scope, like pushing a stack frame does but it can shadow them if a new variable is declared with the name of a variable in the outer scope.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.