Answers for "while loop in Selenium"

0

while loop in Selenium

package com.seleniumeasy.controlstatements;

public class WhileDemo {
	public static void main(String[] args) {
		int i=1;
		while(i<=10){
			 System.out.println(i);
			i++;// incrementing i value.
			
		}
	}
}
Posted by: Guest on June-16-2020

Browse Popular Code Answers by Language