Activity 2 - Java Program Flow Notes
In Java programming language, you can control the flow of execution of the code by placing the decision making, branching, looping, and adding conditional blocks. Based on this, we can classify the types of control flow statements as follows:
- Conditional Branches, which we use for choosing between two or more paths. ..
- Loops that are used to iterate through multiple values/objects and repeatedly run specific code blocks.
- Branching Statements, which are used to alter the flow of control in loops.
Last modified: Thursday, 28 September 2023, 9:35 AM