while(false){
x = 3;
}
if(false){
x = 5;
The compiler will complain and not compile the while
statement, unreachable code. But it still compile for the if
statement to have unreachable code. Reason?
while(false){
x = 3;
}
if(false){
x = 5;
The compiler will complain and not compile the while
statement, unreachable code. But it still compile for the if
statement to have unreachable code. Reason?