займ на карту онлайн кредит банк

Can a contract emit another contract's event?

0
contract B {     event eventFallback(); }  contract A {     address contractB;      function () public payable {          emit B(contractB).eventFallback();     } } 

I tried like above and failed. Is there a way to emit an event in another contract? (except creating an interface function like below.)

function emitEvent() public {     emit eventFallback(); }