Q. What syntax is used for string interpolation in Ruby?
β
Correct Answer: (A)
"#{variable}"
Explanation: String interpolation is done inside double quotes with #{variable}.