Java Control statements

Java Control statements

The conditional instructions are instructions that tests whether a Boolean expression is true or false.
If the condition is true then the java execute a set of instructions in the block.

Java Control statements are:

  • if-then
  • if-then-else
  • switch
  • while
  • do-while
  • for
  • break
  • continue
  • return
  • try-catch-finally
  • throw