100 Days Of Solidity, Shadowing State Variables, Inherited State Variables, Learn Solidity.
The `overrideName` modifier is used to modify the behavior of the function. Inside the modifier, we assign a new value “Modified Name” to `name`. When we call `E.getName()`, it returns the overridden value “Modified Name”. Conclusion: Congratulations on mastering the art of shadowing inherited