1.

What is Shadowing?

Answer»

In Golang, a shadowed VARIABLE is one which is declared in an INNER scope having the same NAME and type as a variable in the outer scope. Here, the outer variable is MENTIONED after the inner variable is declared.



Discussion

No Comment Found