Writea difference between Unary and Binary operator in java.
Answers
Answered by
3
Answer:
Binary operator requires two operands and Unary operator requires one operand. ... The minus sign between 5 and 6 is binary operator which requires two operands(-5 and 6 here). The minus sign in -11 is also unary operator. ... The minus sign between 5 and 6 is binary operator which requires two operands(-5 and 6 here).
Similar questions