answersLogoWhite

0

The percent sign in Java is the modulus operator. Modulus is used to find the remainder from a division

For example if you did

int x = 10 % 6;

x would be equal to 4. 10 divided by 6 has a remainder of 4. The modulus operator can be used to determine whether a number is divisible by another among other things.

User Avatar

Wiki User

∙ 17y ago

What else can I help you with?

Related Questions