Ruby Programming Language Question:

Download Job Interview Questions and Answers PDF

Explain the difference between nil and false in ruby?

Ruby Interview Question
Ruby Interview Question

Answer:

False is a boolean datatype
Nil is not a data type

Download Ruby Interview Questions And Answers PDF

Previous QuestionNext Question
Explain about ruby code blocks?Explain the use of global variable $ in Ruby?