Ruby Programming Language Question:

Explain the difference between nil and false in ruby?

Tweet Share WhatsApp

Answer:

False is a boolean datatype
Nil is not a data type

Download Ruby PDF Read All 26 Ruby Questions
Previous QuestionNext Question
Explain about ruby code blocks?Explain the use of global variable $ in Ruby?