0

What is % operator in java?

6th Feb 2017, 6:02 AM
dorson joseph
dorson joseph - avatar
2 Respuestas
+ 3
It's main modulus in most of the language.
6th Feb 2017, 11:24 AM
1971 • Anas
1971 • Anas - avatar
+ 2
% is the modulo operation and it displays the remainder. 4 % 2 // output 0 3 % 2 // output 1 => 3 / 2 = 1 => 1 * 2 = 2 => 2 + x = 3 => x = 1 hope it is clear what i mean and whats the % is
6th Feb 2017, 8:34 AM
R4xx4r
R4xx4r - avatar