You Are Here::Home > JAVA > Operators -
Discussion
Q.
The________ requires only one operand to perform different kind of operations such as increasing/decreasing a value, negating an expression, or inverting a boolean value.
A.
Bitwise operator
B.
unary operator
C.
left shift operator
D.
right shift operator
Answer:
Option
B
Explaination:
The unary operators requires only one operand to perform different kind of operations such as increasing/decreasing a value, negating an expression, or inverting a boolean value.