Which of the following statements are true about Java loops? a. all three loop s
ID: 3793371 • Letter: W
Question
Which of the following statements are true about Java loops?
a. all three loop statements are functionally equivalent
b. while loops and do loops are essentially the same; but while loops always execute at least once
c. if you know the number of times that a loop is to be performed, the best loop statement to use is a while loop
d. loops may be replaced by an appropriate combination of if-else and switch statements
a. all three loop statements are functionally equivalent
b. while loops and do loops are essentially the same; but while loops always execute at least once
c. if you know the number of times that a loop is to be performed, the best loop statement to use is a while loop
d. loops may be replaced by an appropriate combination of if-else and switch statements
Explanation / Answer
option a is correct
a. all three loop statements are functionally equivalent this statement is correct according to the functionality of java loops
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.