3
Reply

Multiple Interfaces with same Method

kalit sikka

kalit sikka

15y
5.3k
0
Reply

     To show what happens to the possible conflicts if you 
     implement multiple interfaces: there are no conflicts.


     If multiple interfaces have the exact same method, you
     merely have to implement it.


     If multiple interfaces have similar methods, you must
     implement them all.There's still no conflict.

    Hi ,

    Same Method in Both the Interface u just Impliment the One Interface that it.ok i will give with examples later.ok bye

     

    We have two Interface A and B both have one method common in them i.e. GetCustomer(), Suppose if Class C will implement both the interfaces than what will be the implications of Common Method on it.