Question
Download Solution PDFIn a loop, ______ keyword is used to skip the body of the current iteration.
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFCorrect answer is Continue.
Key Points
- In computer programming, a loop is a sequence of instructions that is continually repeated until a certain condition is reached.
- The continue keyword can be used in any of the loop control structures.
- It causes the loop to immediately jump to the next iteration of the loop
- In a for loop, the continue keyword causes control to immediately jump to the update statement.
- In a while loop or do/while loop, control immediately jumps to the Boolean expression.
- The break keyword is often used inside loops control structures and switch statements.
- It is used to terminate loops and switch statements in java.
- The exit () function is used to break out of a loop.
- This function causes an immediate termination of the entire program done by the operation system.
- The return statement stops the execution of a function and returns a value.
Last updated on May 10, 2025
-> OSSC CGL Revised CV Schedule is out on the official website only for the dates 15.05.2025 and 17.05.2025.
->Earlier,The OSSC CGL Call Letter had been released for the Document Verification (Advt No.1249/OSSC).
-> Interested candidates registered from 29th November 2024 to 28th December 2024.
-> The recruitment is also ongoing for 543 vacancies (Advt. No. 129/OSSC). The Prelims was held on 20th October 2024 and thee Mains Exam will be scheduled in February/ March 2025.
-> The selection process includes Prelims, Mains, Skill Test, and Document Verification.
-> To score well in the exam, you may enhance your preparation by solving the OSSC CGL Previous Years' Papers.
-> Candidates can also attend the OSSC CGL Test Series which helps to find the difficulty level.