Java View all facts Glossary Help |
syntactic unit > statement > control flow statement |
control flow statement comparison table |
Subject | cause | have syntax | have purpose | have type | see also | is a subtopic of | is a synonym of |
---|---|---|---|---|---|---|---|
break statement | execution to immediately halt the current loop | to terminate a loop or switch-case statement | break | Loops and Decision Making | |||
continue statement | execution to switch immediately to the next iteration of a loop | used within loops to jump to another statement | continue | Loops and Decision Making | |||
decision making statement | to make a decision on which branch of code to follow in a program | Loops and Decision Making | conditional statement | ||||
exception statement | to handle exceptions | Exception Handling | |||||
label statement | labelName: lineOfCode; | to mark a particular line of code | Loops and Decision Making | ||||
loop statement | to execute a section of code more than once | Loops and Decision Making | |||||
return statement | return expression | to exit from the current method and jump back to the statement within the calling method that follows the original method call | that is the return type of the method or a subtype of it | Methods |
Next statement: expression statement Up: statement Previous statement: package statement