"Java modulo" 或 "Java modulus"
在 Java 中,取模运算符是 `%`,它用于计算两个数相除后的余数。例如:
```java
int a = 10;
int b = 3;
int result = a % b; // result 是 1
```
这里的 `%` 运算符被称为 "modulo operator" 或 "modulus operator"。
When using the results generated by a random number generator, the modulo operation (%) can limit the result to a range with an upper bound of one less than the maximum value of the operand.