If I have the following contracts:
contract A {
function _delegate() internal virtual {
//some code
}
}
contract B is A {
//some code not including _delegate()
}
contract C is B {
function _delegate() internal override {
//some code
}
}
..and if I deploy Contract C
and call _delegate()
, which code will run? The one from Contract A or from Contract C?