100 Days Of Solidity, Shadowing State Variables, Inherited State Variables, Learn Solidity.
inherits both its functions and state variables. However, if the child contract declares a state variable with the same name as the inherited variable, it does not actually override the original variable. This phenomenon is known as “shadowing” of state variables. The Disallowed Shadowing —