Multiple Choice Question

Quiz Guidelines

 

QID: 
163
Question: 

How many times will the line marked //1 be called in the following code?

int x = 10;
do{
x--;
System.out.println(x); // 1
}while(x<10);

Select 1 option

A. 0
B. 1
C. 9
D. 10
E. None of these.

Q&A Set: