Inheritance - Override
Contracts can inherit other contract by using the is
keyword.
Function that can be overridden by a child contract must declare virtual
.
Function that is overriding a parent function must declare override
.
Last updated
Was this helpful?