Continue

 package com.company;


public class CWH_24Continue {
public static void main(String[] args) {
for(int i=0; i<5;i++) {
if(i==3){
System.out.println("Hello");
continue;
}
System.out.print(i);
System.out.println(" Bye");

}
}
}

Comments

Popular posts from this blog

Release method for releasing the resources when they are not in use.

Square root using Binary search concept GFG