Explain what is unary operator in Java
kashikasinha1707:
unary operator uses only one operand. therefore it is know as
Answers
Answered by
4
The unary operators require only one operand they perform various operations such as incrementing/decrementing a value by one, negating an expression or inverting the value of a boolean..
Answered by
47
The unary operators require only one operand they perform various operations such as incrementing/decrementing a value by one, negating an expression or inverting the value of a boolean..
Similar questions