Difficulty -
Medium
Total Plays -
5
Allowed Time - 10 sec
Best Time - 3.892
Which Solidity keyword prevents state variable shadowing?
#A
#B
#C
#D
Explanation:
The override keyword forces explicit acknowledgment when a derived contract replaces a parent variable or function. This prevents accidental state variable shadowing in inheritance hierarchies, which can otherwise lead to subtle storage corruption bugs.
Leaderboard
User
Rank
Time Taken