Java View all facts Glossary Help |
syntactic unit > scoping unit > block |
block comparison table |
Subject | omit | have syntax | be part of | is part of | has definition | have purpose | is a subtopic of | indent carefully |
---|---|---|---|---|---|---|---|---|
body | A block that is not nested inside another block | to create a new scope and/or to create a compound statement | Statements and Expressions | |||||
catch block | // a try-catch-finally statement showing the catch blocks in bold | try-catch-finally statement | to catch a particular type of exception | Exception Handling | ||||
else block | if there is nothing to do in the false case | if statement | to create a new scope and/or to create a compound statement | Loops and Decision Making | ||||
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 |
Next scoping unit: package Up: scoping unit