Examveda Which method is used to check if a variable is nil in Ruby? A. .is_nil?B. .nil?C. .empty?D. .null?Answer: Option B This Question Belongs to Ruby Programming >> Data Types And Variables In Ruby
Which of the following is NOT a valid data type in Ruby? A. IntegerB. FloatC. BooleanD. Double View Answer
What is the default value of a variable in Ruby if not initialized? B. nilC. "undefined"D. FALSE View Answer
Join The Discussion