Module 01-16 Exceptions & File I/O: Read Flashcards

1
Q

These THROWABLES are used by the JVM to indicate problems associated with the runtime environment, such as running out of memory or other resources. Occur only at runtime and it is not possible for an application to recover.

A

Errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

These THROWABLES are anomalous situations that occur while a program is executing. They can occur at runtime or compile time. It is what happens when something is unexpected or goes wrong. Always caused by code. Can be caught and handled.

A

Exceptions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

_____ Exceptions must be caught with a try…catch.

A

Checked

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

_____ Exceptions can be thrown from any method and do not have to caught with a try…catch.

A

Runtime

How well did you know this?
1
Not at all
2
3
4
5
Perfectly