DEVFYI - Developer Resource - FYI

What is the % operator?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

250. What is the % operator?

It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand.

(Continued on next question...)

Other Interview Questions