What does the %operator do in java? Like /is decision...

%operator in java

17th Dec 2019, 5:34 PM
3 Answers
+ 1
It is Modula operator. gives remainder; Ex: a=21%2; a=1;
17th Dec 2019, 5:48 PM
Jayakrishna 🇮🇳
+ 1
cosmic_k1 this question has been asked many many times here, please use the searchbar next time, because these kind of questions is useless.
17th Dec 2019, 6:04 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
I didnt ask the question its Coolman
20th Dec 2019, 10:53 AM
Mohammed Kabir Hussaini
Mohammed Kabir Hussaini - avatar