Answer Posted / Kunal Prasad
"In Ruby, both nil and false represent falsiness but they are not the same. Nil is an object that represents the absence of any object value, while false is a boolean value representing falsehood. Unlike nil, false has a truth value and can be used in conditional statements."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers