Examveda

What is the difference between nil and false?

A. nil represents absence of value, false represents a boolean value

B. Both are the same

C. nil is a string, false is a boolean

D. nil is a number, false is a boolean

Answer: Option A


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby