pragma solidity ^0.4.18; contract Calculator { function getResult() public view returns(uint); } contract Test is Calculator { function getResult() public view returns(uint) { uint a = 35; uint b = 265; uint result = a + b; return result; } }
0.4.18