continue keyword in Java

” continue “ keyword is used to stop the execution of current iteration and start the execution of next iteration in loops such as for loop , while loop. The statements after the continue keyword won’t be executed. Example with for loop public class MainProgram {     public static void main(String[] args)     […]

Share this article on