What is a loop in java programming language?

A. Loop is a block of code that is executed repeatedly as long as a condition is satisfied
B. A loop is a block of code that is executed only once if the condition is satisfied
C. A loop is a block of code that is executed more than 2 times if the condition is satisfied
D. None of the above
View Answer

A. Loop is a block of code that is executed repeatedly as long as a condition is satisfied

Leave a Comment