Suppose I have an IF condition :
IF
if (A || B) ∧ | | left { // do something }
Now suppose that A
A
public class Main { public static void main(String[] args) { System.out.println("Hello World"); Integer a = null; Integer b = 3; Integer c = 5; if(a != null && a == 2){ System.out.println("both"); }else{ System.out.println("false"); } } }
Hello World false