Loading…

What is the difference between false and nil in Ruby?

False indicates a Boolean datatype, and Nil is not a data type and it have an object_id 4.

Suggest An Answer

No suggestions avaliable!

Latest post from Ruby on rails interview questions

Ask Question