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.
Using the URL: Java Control Statements | Control Flow in Java - Javatpoint (or others if you'd prefer), create a document/presentation/poster (or whatever you like) to make some notes and example on each type of control flow. 

 




Last modified: Thursday, 28 September 2023, 9:35 AM