Java View all facts Glossary Help |
syntactic unit > scoping unit > block > nested block > finally block |
finally block comparison table |
Subject | have syntax | be part of | has definition | have purpose | is a subtopic of | is a kind of |
---|---|---|---|---|---|---|
nested block | A block that is nested inside another block | to create a new scope and/or to create a compound statement | Statements and Expressions | block | ||
finally block | // a try-catch-finally statement showing the finally block in bold | try-catch-finally statement | to clean up internal state or to release non-object resources, such as open files stored in local variables, whether or not an exception has occurred. | Exception Handling | nested block |
Next nested block: initialization block Up: nested block Previous nested block: try block