24. Describe the functions of the following operators? i) Relational operators ii) Logical operators iii) Conditional operator
Answers
Answered by
0
Step-by-step explanation:
Relational operators often are used with conditional operators to construct more complex decision-making expressions. The Java programming language supports six conditional operators—five binary and one unary—as shown in the following table.Relational operators perform element-by-element comparisons between two arrays. They return a logical array of the same size, with elements set to true (1) where the relation is true, and elements set to false (0) where it is not.Logical Operators are used to perform logical operations and include AND, OR, or NOT. Boolean Operators include AND, OR, XOR, or NOT and can have one of two values, true or false.
Similar questions