Advertisements
Advertisements
Question
A conditional statement is essentially formed by using relational operators.
Options
True
False
MCQ
True or False
Solution
This statement is True.
Explanation:
Relational operators (such as >, <, ==, etc.) are widely employed in conditional statements, although they are not the only way to build them. Conditional statements may include logical operators (&&, ||), equality tests, method calls, and other expressions. As a result, relational operators do not generate conditional statements exclusively.
shaalaa.com
Is there an error in this question or solution?