Ruby MCQ set number 00169

1. Which of the following datatypes are valid in Ruby? a) Numbers b) Boolean c) String d) All of the mentioned AnswerAnswer: d [Reason:] Ruby supports all the three (numbers,strings,boolean) data types. 2. What will any variable evaluate to if it is of Boolean data type? a) True b) Nil c) False d) Either True…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership