What will any variable evaluate to if it is of Boolean data type?
A. True
B. Nil
C. False
D. Either True or False
Answer: Option D
A. True
B. Nil
C. False
D. Either True or False
Answer: Option D
What does the 'puts' method do in Ruby?
A. Prints to console
B. Converts to string
C. Finds the length
D. Reads input from user
Join The Discussion