interface One { public void m1(); } interface Two { public void m1(); } class Three implements One,Two { public void m1() { System.out.println("implementation"); } } Conclution: ---------- If two interfaces(One,Two) having a method(m1) with same signature and same return type, in implementation class(Three) we can provide implementation for only one method. | 1 |
By: [email protected] On: Wed Apr 09 00:14:45 IST 2014 16 29 0 | 45 |
Are You Satisfied :0Yes0No |
if you are using two interface with same method one will be called and you will not know which one it is. | 0 |
By: [email protected] On: Wed Apr 09 13:17:27 IST 2014 0 392 0 | 392 |
Are You Satisfied :0Yes0No |