two different interface say A and B with both having same method say void display();. Now if a class say x implements interface A and B then how the implementing class will define both the methods.
Printable View
two different interface say A and B with both having same method say void display();. Now if a class say x implements interface A and B then how the implementing class will define both the methods.
The class x only has to implement method display() once; I consider it a fault in the design though ...
kind regards,
Jos