Explore BrainMass

Java Programming : % (Remainder Function)

What value will integer variable z have if we execute the following assignment statement?
z = 10%3
Answer is 1

Solution Summary

The "%" operator in Java programming is investigated. The solution is detailed and well presented. The response received a rating of "5/5" from the student who originally posted the question.