vbscript to end while loop code example
Example 1: loop while in java
while(i < 5) //while i < 5 stay in the loop
{
System.out.print(i);
i++;
}
/*
do someting
change variable
call methods
etc...
*/
Example 2: java while loop break
while (true) {
....
if (obj == null) {
break;
}
....
}