Clear my doubt on Interface
Hi,
When a class implement an interface,the method of the class should thorugh the same exception or any of its subclass exception or any different exception,as that of the exception declared on the abstarct method of the interface.
Please any one solve my doubt as early as possible.
Thanks
Vish
> Hi,
> When a class implement an interface,the method of
> the class should thorugh the same exception or any of
> its subclass exception or any different exception,as
> that of the exception declared on the abstarct method
> of the interface.
>
Is this supposed to be multiple choice?
The easiest way for you to answer this question is to try it out yourself in code.