Solved

How Many Times Does the Following Code Snippet Display "Loop

Question 20

Multiple Choice

How many times does the following code snippet display "Loop Execution"?
For (int i = 0; i < 10; i++) ;
{
System.out.println("Loop Execution") ;
}


A) Ten times.
B) The code snippet does not run because of a compile error.
C) Infinite loop.
D) Only one time.

Correct Answer:

verifed

Verified

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

Related Questions