Look at the snippets given below and check the one in which the variable “a” isn’t equal to the “NULL”.
A. if (a!)
B. if(a!=null)
C. if(a!==null)
D. if(a!null)
Answer:C
Look at the snippets given below and check the one in which the variable “a” isn’t equal to the “NULL”.
A. if (a!) B. if(a!=null) C. if(a!==null) D. if(a!null)