if and switch are not "loops".
a "loop" is something that repeats a block of code as long as a condition is true.
may i suggest using the title "control structures" for this tutorial. (see https://en.wikiversity.org/wiki/Control_structures )
Java Tutorial [#04] - All Loops + more Math
if and switch are not "loops".
a "loop" is something that repeats a block of code as long as a condition is true.
may i suggest using the title "control structures" for this tutorial. (see https://en.wikiversity.org/wiki/Control_structures )