Computer Applications
Differentiate between the following:
Binary operator and Ternary operator
Java Operators
121 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
70 Likes