In this while loop statement, while(counter < 10)
the variable counter is an int. Which statement below is an
equivalent way to write this while statement?
A. while(10 > counter)
B. while( counter <= 9)
C. while(9 > counter)
D. A and B are correct
D
You might also like to view...
Repeat Exercise 2 in Chapter 7, but use an instance of ArrayList instead of an array. Do not read the number of values, but continue to read values until the user enters a negative value.
What will be an ideal response?
In the Inbox pane, the ________ for an e-mail that has not yet been read or opened displays in bold, and the icon at the left shows a closed envelope.
a. sender's name b. e-mail heading c. message header d. question mark
The classic problem of producers and consumers is one in which one or more processes produce some data that one or more processes consume later.
Answer the following statement true (T) or false (F)
When two shapes are aligned precisely, you might see a dashed line between the objects called a _____.
A. Smart Guide B. Smart Grid C. Smart Line D. Smart Alignment