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