The Remainder or Modulus Operator in Java Java has one important arithmetical operator you may not be familiar with, %, also known as the modulus or remainder operator. The %operator returns the remainder of two numbers. For instance 10 % 3is 1 because 10 divided by 3 leaves a remainder of 1.
For More Information Please Refer: