|
The Java programming language provides several control flow statements,
- looping - while, do-while , for
- decision - making if-else, switch-case
- exception - handling try-catch-finally, throw
- branching - break, continue, label:, return
They can be used to,
- conditionally execute statements,
- to repeatedly execute a block of statements,
- and to otherwise change the normal, sequential flow of control.
|