Q. In ruby, User can access the string elements by using the__________?
β
Correct Answer: (B)
[]
Explanation: User can access the string elements by using the square brackets []. In square brackets [], the user can pass the strings, ranges or indexes.