The ______ arithmetic operator divides the left-hand operand by the right-hand operand and returns the remainder.

  • %
  • *
  • +
  • -
The "%" (modulo) operator in Java is used to divide the left-hand operand by the right-hand operand and returns the remainder. For example, "10 % 3" returns 1 because 10 divided by 3 leaves a remainder of 1. The other operators perform different arithmetic operations.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *