Browsing "Older Posts"

Browsing Category " If loop in Java "
The if loop in Java is a statement that a result will be checked and then different continues. Exactly how this works, you will learn in this Tip.

Java programming: The If statement

An If statement can help in different cases, different instructions execute:
  1. Construction: if (condition) { //statement(s) }
  2. The condition must be as a Boolean "true" or "false".
  3. The If statement is executed only if the condition is true.
  4. Is the condition is false, the Code after the If statement further runs.

If loop in Java

By David Amoyal → Monday, May 12, 2014

The if loop in Java is a statement that a result will be checked and then different continues. Exactly how this works, you will learn in thi...