Java y / o precedencia

year % 4 == 0 && year % 100 != 0 || year % 400 == 0
Curious Centipede