This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Inner blocks cannot declare variables with the same name as variables in outer blocks—Java prevents shadowing.
You've completed the free preview. Subscribe to unlock every lesson in every course.