When global and local variable in the same name.
the local variable in a method or function which use to override the global is called the shadowing.
ie the Global variable is being shadowed by the local variable.
the local variable in a method or function which use to override the global is called the shadowing.
ie the Global variable is being shadowed by the local variable.
No comments:
Post a Comment