New course! Every coder should learn Generative AI!
Try a free lesson+ 1
When coding in java, what does this symbol ''%'' do
2 Answers
+ 2
%is modulo, it returns the remainder of a calculation.
Doing
4%3 will give 1.
35%7 will give 0.
24%5 will give 4.
Hope you understand.
+ 2
Thanks