A Admin • 831.35K Points Coach Q. 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. Correct Answer - Option(B) Views: 24 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.