Answer the following statements true (T) or false (F)
1. The while loop is always the best choice in situations where the exact number of iterations is known.
2. Java provides a set of simple unary operators designed just for incrementing and decrementing variables.
3. The while loop has two important parts: (1) a boolean expression that is tested for a true or false value, and (2) a statement or block of statements that is repeated as long as the expression is true.
4. In a for loop, the control variable cannot be initialized to a constant value and tested against a constant value.
1. FALSE
2. TRUE
3. TRUE
4. FALSE
Computer Science & Information Technology