Java: If two interface have same method, how can we come to know that which method is of which interface?
Answers
Answered by
0
Two interfaces with same methodshaving same signature but different return types. Java does not support multiple inheritance but we can achieve effect of multiple inheritance using interfaces. In interfaces, a class can implement more than one interfacewhich can't be done through extends keyword.
Similar questions