Computer Applications
Distinguish between a continuous loop and a step loop
Java Conditional Stmts
19 Likes
Answer
In a continuous loop, loop control variable is updated by 1 in each iteration whereas in a step loop, loop control variable is updated by a given value (other than 1) in each iteration.
Answered By
7 Likes
Related Questions
Why is it must to use 'break' after each case in a switch statement?
Explain for loop with an example.
Predict the output and the number of times the loop runs:
class Test { public static void main(String args[]) { int i; for(i=0;i<5;i++) System.out.println(i-i*i); } }
Write the Java expression for the following: