Answer:
It will return false.Because as we can see list have 2 items as 1 and 2.And we are checking value > 2.So it will return false.Because there are no greater value other then 2.So the condition will always be false.
Asked In: Many Interviews |
Alert Moderator