Computer Science, asked by amansaraswat6787, 11 months ago

If we have two interface and two interface contains same method,which method to call how to identify

Answers

Answered by hemanji2007
0

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. If, say, the two methods have conflicting return types, then it will be a compilation error.

Please mark as brainliest answer

Similar questions