We know the compiler allows this
Without that, you wouldn't be able to assign an integer constant (24) value to a type smaller than int without casting. Since the value of 24 is known at compile time, the compiler can check it for overflow (try using 240 instead of 24, the compiler will complain).
Since a final variable is, well, final
, the statement above is saying this will work also (and it does).
HTH,
Chris