Exceptions Flashcards
1
Q
Can a “finally” block be used without “catch”?
A
Yes.
2
Q
Is it possible for a “finally” block NOT to be called?
A
Yes. If someone calls “System.exit()” or if a fatal error causes the process to abort.