Q. Which of these is the correct way to define a symbol-to-string hash key?
β
Correct Answer: (D)
Both option2 and option3
Explanation: Ruby supports both new and old syntax for symbol keys.