Computer Science, asked by gajakosh460, 8 months ago

Mod operator can be applied for
data type variable

Answers

Answered by ɪᴛᴢPÍɴᴋPèåʀʟ
11

Answer:

operator can also be applied to floating point numbers e.g. 3.0%1.0 is perfectly legal in Java. Since it return remainder value in division operation it is also known as remainder operator.

Hope it helps u

Answered by TrueRider
36

As we learn in first paragraph, in Java modulus, operator can also be applied to floating point numbers e.g. 3.0%1.0 is perfectly legal in Java. Since it return remainder value in division operation it is also known as remainder operator.

Similar questions