Computer Applications
Write a difference between unary and binary operator.
Java Operators
ICSE 2012
ICSE 2019
55 Likes
Answer
unary operators operate on a single operand whereas binary operators operate on two operands.
Answered By
37 Likes
Related Questions
Write Java expression for:
Rewrite the following program segment using logical operators:
if(x > 5) if(x > y) System.out.println(x + y);Evaluate the expression when x is 4:
x += x++ * ++x % 2;
Write a Java program to obtain principal amount, rate of interest and time from user and compute simple interest.