C:\JavaRanch>javac Test35.java
C:\JavaRanch>
java Test35
Hi there
----------
The question was:
What methods have to be implemented by a class that says it implements I1 and I2 ?
The answer was:
There is no way that an method can declare an exception that satisfies both the methods.
As in my code, the class can declare no throws clause that will satisfy both interface method requirement.
Any thoughts?