Java Language Specification, Version Java SE 13 Edition
14.9. The if Statement

Read this Section of the Authoritative Specification

https://docs.oracle.com/javase/specs/jls/se13/html/jls-14.html#jls-14.9

2 Documented Misconceptions

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.