Vidyalelo
Ruby Programming · Q14

Data Types and Variables in Ruby

Programming · Ruby Programming · question 14

Q14

What is the method used to check the data type of a variable in Ruby?

A.
.type
B.
.typeof
C.
.class
Answer
D.
.datatype

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board