Q. What is the difference between the two lines given below ?
Code:
!!(obj1 && obj2); (obj1 && obj2);
β
Correct Answer: (D)
The first line results in a real boolean value whereas the second line merely checks for the existence of the objects