Java - Online Test - Checked exceptions - javasearch.buggybread.com
OCJP / SCJP
New in Java 8
Java 8 Lambda
Java 8 java.time
Search Java Test Questions
223 test questions in repository.
Java - Test Questions on 'checked exceptions' - 2 questions found
Checked exception needs to be ...
Method needs to declare that it throws these exception
Either A or B
Both A and B
In Case a method is declared to throw an exception , We can only use a call to that method if ...
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
comments powered by Disqus.
comments powered by