Programming MCQS - QUESTION DETAILS

What is the purpose of the 'continue' statement in a loop?
A. Exit the loop
B. Skip to the next iteration
C. Restart the loop
D. Terminate the program

'continue' skips the rest of the loop and moves to the next iteration.

Similar Questions

What is the purpose of the 'break' statement in a loop in Java?






How is an abstract class different from an interface in Java?






How do you declare a dynamic array in C?






Which of the following is not a bitwise operator in C?






What is the entry point for the execution of a Java program?






What is the purpose of the 'try-catch' block in Java?






Which collection class is synchronized in Java?






What is the output of System.out.println("Hello" + 1 + 2);?






What is the purpose of the 'memcpy' function in C?






Which keyword is used to prevent method overriding in Java?