Explicit interface implementation
In C# you have a feature, which java don’t have. It’s called explicit interface implementation.The main use of this feature is to solve problems when you have to implement for example two interfaces which have both unfortunatly a same method signature: namespace testpw.ExplicitInterfaces{ public interface IA { void doAction(); } public interface IB { void doAction(); }} The implementation of both interfaces on the same class look now like this: namespace testpw.ExplicitInterfaces{ public class TestImpl : IA, IB { …