false condition has any sense for while loop ? Nope.It executes only when it is true.
Although false condition for if-else statement can have else part.
posted 5 years ago
The Java Language Specification makes a specific exception for if statements. If you look at the relevant section, and read the example at the bottom, it explains why - basically it's there to enable conditional compilation.