Java View all facts Glossary Help |
syntactic unit > statement > control flow statement > decision making statement > try-catch-finally statement |
try-catch-finally statement | ||||
subject | fact |
try-catch-finally statement | has example //Any division by zero that occurs when executing the try block will result in execution of the catch block. | |
has part try block, catch block(s), finally block | ||
has syntax try{ | ||
is a subtopic of Exception Handling | ||
is a subtopic of Exception Handling | ||
is a kind of decision making statement | ||
is a kind of exception statement | ||
decision making statement | has purpose to make a decision on which branch of code to follow in a program | |
exception statement | has purpose to handle exceptions | |
statement | is terminated by a semicolon | |
should be not more than one line long if possible | ||
syntactic unit | has syntax rule bold = mandatory |