Sail E0 Webinar
Question
What is the difference between the two lines given below ?
!!(obj1 && obj2);
(obj1 && obj2);
Options:
A .  Both the lines result in a boolean value “True”
B .  Both the lines result in a boolean value “False”
C .  Both the lines checks just for the existence of the object alone
D .  The first line results in a real boolean value whereas the second line merely checks for the existence of the objects
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers