Java / Inheritance
What happens when a class implements two interfaces and both have a method with same name and signature?
This is a valid scenario. If a type implements two interfaces, and each interface define a method that has identical signature, then in effect there is only one method, and they are not distinguishable.
The below snippet compiles and runs.
More Related questions...