Home › Java › Control Statements in Java

Control Statements in Java

Last updated: 28 Sep 2026

Control statements decide which code runs and how many times. There are three groups:

  • Decision making: if, if-else, switch
  • Loops: for, while, do-while
  • Jump: break, continue, return