public class Testwhile{
public static void main(String[] args){
int x=1,y=2;
System.out.println(“This Method. And then we will in two WHILE!!!”);
while(x<8){
System.out.print(" NOW X IS “+ x);
x=x+1;
}
System.out.println(” “);
System.out.println(”******************************************");
while(y<7){
System.out.println("NOW Y IS "+ y);
y=y+1;
}
System.out.println(" ALL BE END. ");
}
}