πŸ“Š Ruby
Q. What does the << operator do when used with a string in Ruby?
  • (A) Appends a character to the end
  • (B) Removes the last character
  • (C) Concatenates two strings
  • (D) Reverses the string
πŸ’¬ Discuss
βœ… Correct Answer: (A) Appends a character to the end

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
103
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate