Inheritance is useful, because a contract that is derived from another contract can make use of:
all public state variables and properties, public and internal functions and modifiers.
all public and private state variables, public, internal and external functions, but not modifiers
all public state variables and properties, public functions and modifiers, but not internal, external or private ones.
Submit