Java View all facts Glossary Help |
| syntactic unit > scoping unit > block > nested block > finally block |
| finally block | ||||
| subject | fact | |||
| finally block | has purpose 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. | ![]() |
has syntax // a try-catch-finally statement showing the finally block in bold | ![]() | |
| is part of try-catch-finally statement | ![]() | |
| is a subtopic of Exception Handling | ![]() | |
| is a kind of nested block | ![]() | |
| nested block | should be indented carefully | ![]() |
| block | contains several statements surrounded by braces ![]() | ![]() |
has example { | ![]() | |
has layout example style preferred by Sun:if(condition) { | ![]() | |
has layout example style preferred by the authors:if(condition) | ![]() | |
is used as the body of classes, loops, conditional statements and for exception handling ![]() | ![]() | |
| syntactic unit | has syntax rule bold = mandatory | ![]() |