java chapter3
🔹 1. What are Control Statements? Control statements determine the flow of execution of a program — i.e., which statements are executed, in what order, and how many times. Java control statements are divided into three main types: 🧩 1. Decision-Making Statements Used to make choices based on conditions. 🟢 A. if Statement Executes a block only if the condition is true. 🟢 B. if–else Statement Executes […]
