31. The statement X %= 5, can best described as? A) A equals a divided by 5; B) A equals A in 5 digit percentage form C) A equals A modulus 5. D) None of the above
well spelling errors, and that is not the only one...
Hi deep_sal, Please read the JavaRanch Name Policy and re-register using a name that complies with the rules. Thanks for your cooperation. ------------------ Jane Griscti Sun Certified Programmer for the Java� 2 Platform
X %= 5 is equivalent to... X = X % 5 which written out is ... X equals X modulus 5 thus making answer D correct. Having the author change the identifiers didn't help.
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
a bit of art, as a gift, the permaculture playing cards