O'Reilly logo
  • Prabhu Rajendran thinks this is interesting:

(i % 2 == 0)

From

Cover of Java: A Beginner’s Tutorial, 4th Edition (Updated for Java SE 8)

Note

i % 2 returns the remainder after divising i by 2.