When should a programmer select a while loop for his or her program?
A. When he or she knows the exact number of times the loop will be executed.
B. When he or she is not sure how many times the loop will be executed.
C. When he or she knows the loop must be executed at least once.
D. There is no reason to select a while loop. Any loop can be used any time.
B. When he or she is not sure how many times the loop will be executed.
You might also like to view...
What is the name of this method?
Given the following code from BinaryNodeTree
template
What would happen if the call to super.paintComponent were removed from the paintComponent method of the CoordinatesPanel class? Remove it and run the program to test your answer.
What will be an ideal response?