Which of the following features does the 2.0 version of ruby supports?
A. Method keyword arguments
B. New literals
C. Security fixes
D. All of the mentioned
Answer: Option D
A. Method keyword arguments
B. New literals
C. Security fixes
D. All of the mentioned
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