Computer Applications
Write a difference between unary and binary operator.
Java Operators
ICSE 2012
ICSE 2019
51 Likes
Answer
unary operators operate on a single operand whereas binary operators operate on two operands.
Answered By
34 Likes
Related Questions
Write the Java expression for:
If the value of basic=1500, what will be the value of tax after the following statement is executed?
tax = basic > 1200 ? 200 :100;
Identify the operator that gets the highest precedence while evaluating the given expression:
a + b % c * d - e
- +
- %
- -
- *
Write the Java expression for the following: