Created
January 20, 2014 06:52
-
-
Save rayjcwu/8516052 to your computer and use it in GitHub Desktop.
Which one of the following statements concerning the type SomeType is true?
1. (exception instanceof Throwable) is true.
2. exception is a checked exception instance.
3. SomeType is java.lang.Exception.
4. SomeType is java.lang.RuntimeException
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
... some code ... | |
} catch (SomeType exception) { | |
... some code ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment