

MCQOPTIONS
Saved Bookmarks
1. |
What is the main difference between a WHILE and a DO-WHILE loop in Java? |
A. | WHILE loop executes the statements inside of it at least once even if the condition is false. |
B. | DO-WHILE loop executes the statements inside of it at least once even if the condition is false. |
C. | WHILE loop is fast. |
D. | DO-WHILE loop is fast. |
Answer» C. WHILE loop is fast. | |