Computer Applications
Differentiate between the following:
Binary operator and Ternary operator
Java Operators
118 Likes
Answer
Binary operator | Ternary operator |
---|---|
Binary operators work on two operands. | Ternary operator work on three operands. |
+, -, *, /, etc. are a few examples of Binary operators. | The conditional operator ? : is a Ternary operator. |
Answered By
68 Likes