Modulus operator, %, can be applied to which of these?
(a) Integers
(b) Floating – point numbers
(c) Both Integers and floating – point numbers
(d) None of the mentioned
I got this question by my school teacher while I was bunking the class.
The origin of the question is Arithmetic Operators in section Operators and Control Statements of Java