Java View all facts Glossary Help |
| syntactic unit > scoping unit > block > nested block > try block |
| try block | ||||
| subject | fact | |||
| try block | has purpose to contain statements that might throw an exception | ![]() |
has syntax // a try-catch-finally statement showing the try 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 | ![]() |