In Java 31% gives an answer

A)
3
B)
4
C)
3 / 4
D)
4 / 3

Correct Answer : Option (B) :   4


Explanation : Modulus operator gives the remainder of division as answer.