1.

Which of the following datatypes are valid in Ruby?(a) Numbers(b) Boolean(c) String(d) All of the mentionedThe question was posed to me in an interview for internship.The query is from Data Types and Variables topic in chapter Ruby Basics of Ruby

Answer» RIGHT CHOICE is (d) All of the mentioned

Best explanation: Ruby SUPPORTS all the three (numbers,strings,boolean) DATA types.


Discussion

No Comment Found

Related InterviewSolutions