contract Parent { function theMeaningOfLife() public pure virtual returns (uint256) { return 42; } } contract Child is Parent { function theMeaningOfLife() public pure override returns (uint256) { return 43; } }
contract Parent { function theMeaningOfLife() public pure virtual returns (uint256) { return 42; } } contract Child is Parent { function theMeaningOfLife() public pure override returns (uint256) { return 43; } }