Java - Online Test - Checked exceptions - javasearch.buggybread.com


Share

Search Java Test Questions


 223 test questions in repository.




Java - Test Questions on 'checked exceptions' - 2 questions found


Checked exception needs to be ... Core Java
Caught
Method needs to declare that it throws these exception
Either A or B
Both A and B

  java  exceptions  checked exceptions

In Case a method is declared to throw an exception , We can only use a call to that method if ...Core Java
We use the call within try block and catch the exception
We declare that the method is expected to throw the exception using throws
Both 1 and 2
Either 1 or 2

  exception handling  throws







comments powered by Disqus