Solved

What Changes Do You Need to Make in the Following

Question 71

Multiple Choice

What changes do you need to make in the following code snippet to display "Let us learn Java" exactly 10 times?
Int i = 0;
While (i <= 10)
{
System.out.println("Let us learn Java") ;
I++;
}


A) while (i < 9)
B) while (i < 11)
C) while (i < 12)
D) int i = 1;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions