Which of the following statements are used to repeatedly execute a block of code until the exit
condition is met?
do-while loops
if statements
for loops
if—Lhen statements

A.
For loops
B.
FALSE
C.
Exceptions
D.
SOQL for loops
You must be logged in to post a comment.
Typo, should be If-Then
0
0
I don’t know that I agree with for loop here. For loops can have an exit condition; however, that’s traditional for loops. There are also iterative loops as well. According the documentation from salesforce, https://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_loops_do_while.htm do while would actually more closely fit.
0
0
Also, the do while is a guaranteed run, for loops are not.
0
0
I have the same idea. A
0
0