Examveda What is the output of the expression: "5".to_i + 2 in Ruby? A. 7B. "52"C. +7D. ErrorAnswer: Option A 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