Java online test, online practice test, exam, quiz

Online Practice Test > Java        (Total 39 questions)        (Time spent 0:0)

1. What is the value of ‘number’ after the following code fragment execution?

int number = 0;
int number2 = 12;
while (number < number2)
{
number = number + 1;
}




   View Answer and Discussion
Advertisement