+ 1
Why?
Why do you need to make a false statement in the code if the program just ignores it?
2 Answers
+ 16
sometimes u want to exclude some set of statement(s) , if condition evaluates to false
//for example : u want to print odd numbers & also divisible by 3
for (int a=1;a <=n;a++){
if(a%2!=0&&x%3==0) { System.out.println(a); }
}
+ 2
sometimes false statement is all we need