Code has been added to clipboard!

Understanding Solidity Inheritance

Example
pragma solidity >=0.5.0 <0.7.0;


contract Owned {
    constructor() public { owner = msg.sender; }
    address payable owner;
}