Community
Participate
Working Groups
I am using eclipse ide version 3.2 and when i tried to compile a program in IDE it gives compile time error but this program is working fine in native SDK plateform i.e using commad of javac and java interface A { void f() throws CloneNotSupportedException; } interface B { void f() throws InterruptedException; } interface AB extends A, B { } public class C implements AB { public void f() { System.out.println("Sandeep"); } public static void main(String[] args) { AB ab = new C(); ab.f(); } } above example is given in Java™ Puzzlers: Traps, Pitfalls, and Corner Cases" in section of "Exceptionals puzzles" and solution of this problem is also there. regards, Sandeep Katheriya
*** This bug has been marked as a duplicate of bug 79798 ***
Verified for 3.4M7 using I20080427-2000