The Modulus Operator in java September 22, 2021 by Codingtube team The modulus operator, %, returns the remainder of a division operation. It can be applied to floating-point types as well as integer types. The following example program demonstrates the % Output x mod 10 = 2y mod 10 = 2.25