What happens if you inherit multiple interfaces and they have conflicting method names?

It's up to you to implement the method inside your own class, so
implementation is left entirely up to you. This might cause a problem
on a higher-level scale if similarly named methods from different
interfaces expect different data, but as far as compiler cares you're
okay.

No comments:

Post a Comment