KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a class which inherits from two different interfaces. Both interfaces declare a method with the same name. How can I provide a different implementation for each interface ? In C#, the answer is there, but it does not work in java: Inheritance from multiple interfaces with the same method name I thought about providing a union implementation which uses type comparison but it's kind of ugly. Thanks EDIT : closed, my question was a duplicate of the following, thank you for the answers ! Java - Method name collision in interface implementation
Tags (comma-separated)
Save Edits
Cancel