Answer the following statements true (T) or false (F)
1. All of the relational operators are binary.
2. To check if a variable has a particular value, use the = relational operator, as in the statement
3. A pair of characters or a pair of string objects can be compared with any of the relational operators.
4. The rule for matching an else with an if is that an else goes with the last if statement before it that doesn't have its own else.
5. If the sub-expression on the left side of an || operator is true, the expression on the right side will not be checked.
1. TRUE
2. FALSE
3. TRUE
4. TRUE
5. TRUE
You might also like to view...
A style contains formatting characteristics, such as font, font size, paragraph indents, and line spacing, that are grouped and named
Indicate whether the statement is true or false
Executing asynchronous methods in separate threads on a dual-core computer typically ________ executing the same tasks sequentially.
a) takes more time than b) takes about the same amount of time as c) takes less time than d) takes an unpredictable amount of time compared to