Variable shadowing occurs when a variable declared within a certain scope has the same name as a variable in an outer scope. This results in the inner variable 'shadowing' or hiding the outer variable within its own scope.
congrats on reading the definition of Variable Shadowing. now let's actually learn it.